Re: bridgin third party software using MQ

2010-04-22 Thread Bruce Snyder
On Thu, Apr 22, 2010 at 11:20 PM, Dixit Patel wrote: > > take for example I have purchased a software for life insurance from a vendor > where i can make entry of policy, now i have another software running at > remote server which has details in bulk so I want to automate those entry > from anoth

Re: bridgin third party software using MQ

2010-04-22 Thread Dixit Patel
take for example I have purchased a software for life insurance from a vendor where i can make entry of policy, now i have another software running at remote server which has details in bulk so I want to automate those entry from another software, I don't have source code of that software. so what

jaas module processing logic

2010-04-22 Thread Jim Newsham
Hi, I'm trying to figure out how to use JAAS with multiple modules, and I'm confused about the logic that it uses to process modules. Please help me. As a simple test, I have the following login.config: DebugLogin { DebugLoginModule sufficient succeed=false ; DebugL

Re: Broker hangs and cant restart it

2010-04-22 Thread Bruce Snyder
On Thu, Apr 22, 2010 at 9:25 PM, alisenberg wrote: > > This is the scenario: > > I open three web admin consoles and send 10.000 messages from each console > at the same time. Each message is about 50k. I mark persistence. And all > messages go to the same queue. When the Queue receives 20.000 mes

Broker hangs and cant restart it

2010-04-22 Thread alisenberg
This is the scenario: I open three web admin consoles and send 10.000 messages from each console at the same time. Each message is about 50k. I mark persistence. And all messages go to the same queue. When the Queue receives 20.000 messages, the broker appears to hang. I can see that tmp_storage

Re: 5.1.0 -> 5.3.1 upgrade questions.

2010-04-22 Thread Sebastian Rodriguez
Dear Shaun, Regarding the configuration: Exposes or not the activeMq to the JMX. Basically setting this to true will let you connect the different vm tools (jconsole, jvisualvm.exe, etc) to the part related to activeMQ so that you can monitor it's usage in terms of RAM, cpu usage, threads

Duplicate Subscriptions activemq-admin query

2010-04-22 Thread Pothier, Peter
Hi, Using ActiveMQ 5.3.0, with both libstomp and activemq-cpp clients, and using activemq-admin query to view details, we have some tests that connect/disconnect/reconnect/disconnect... to both a queue and a durable topic. In between, persistent messages are sent. The "Subscription

5.1.0 -> 5.3.1 upgrade questions.

2010-04-22 Thread shaun.t.erickson
I have been tasked with maintenance of our ActiveMQ install on Windows, after its previous maintainer left the company. Let me say, up front, that I am brand new to it and am working to come up to speed on it, so please bear with me, if I should sound clueless. We are running version 5.1.0. It

Re: Recieving the same message 10 times, Spring, and Camel

2010-04-22 Thread Norman Maurer
And of course the "ActiveMQ in Action" book is a really good source of information.. Bye, Norman 2010/4/22 Bruce Snyder : > On Thu, Apr 22, 2010 at 10:59 AM, Steve Holmes > wrote: >> >> Hi! >> Thanks for the response...so you're saying that the concurrentConsumers >> setting tells activeMQ to

Re: Subsribe to Websphere QM with active MQ possible?

2010-04-22 Thread Joe Fernandez
How about using a bridge? http://activemq.apache.org/jms-to-jms-bridge.html Or look into Camel's JMS and AMQ connectors to implement your own bridge. Joe ActiveMQ Reference Guide: http://bit.ly/AMQRefGuide pronity wrote: > > Hello, > > I have a running websphere MQ which subscribes to ano

Re: finding workaround to solve memory leak problem when creating large numbers of TemporaryQueues (Log4J related)

2010-04-22 Thread Joe Fernandez
One possible workaround is to use a combination of permanent queue and header property (e.g., correlationId). See the following http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html Joe ActiveMQ Reference Guide: http://bit.ly/AMQRefGuide easyl wrote: > > I am usin

Re: Recieving the same message 10 times, Spring, and Camel

2010-04-22 Thread Bruce Snyder
On Thu, Apr 22, 2010 at 10:59 AM, Steve Holmes wrote: > > Hi! > Thanks for the response...so you're saying that the concurrentConsumers > setting tells activeMQ to push 10 messages.  If there is only one consumer > (camel route in this case) then it will push it to the one consumer 10 > times.  So

Re: Recieving the same message 10 times, Spring, and Camel

2010-04-22 Thread Steve Holmes
Hi! Thanks for the response...so you're saying that the concurrentConsumers setting tells activeMQ to push 10 messages. If there is only one consumer (camel route in this case) then it will push it to the one consumer 10 times. So the key is you have to know ahead of time how many consumers you

Re: ActiveMQ AJAX Problems

2010-04-22 Thread magellings
http://sxdevweb1.qg.com:8099/shared/cache/jquery/142/jquery-1.4.2.js";> http://sxdevweb1.qg.com:8099/shared/cache/jquery-ui/172/jquery-ui-1.7.2.js";> amq = org.activemq.Amq; amq.init({ uri: 'http://wamq

Consumer stops receiving messages after about 30 minutes

2010-04-22 Thread Marko111
Hi, I am using ActiveMQ broker (v 5.3.1) and NMS clients. Consumer is subscribed to topic and uses asynchronous message receiving. However problem appears when consumer is idle for about 30 minutes, that is consumer stops receiving messages after it has been idle for approximately 30 minutes.

Re: bridgin third party software using MQ

2010-04-22 Thread Bruce Snyder
On Thu, Apr 22, 2010 at 5:50 AM, Dixit Patel wrote: > > thnks Gary, but I want to know what third party software need for that ? > I heard about adapter, if it is mechanism to plug between mq and third party > soft then how it works ? Let's address your specific need instead of talking at a high

Re: ActiveMQ AJAX Problems

2010-04-22 Thread Dejan Bosanac
Hi, can you post your JavaScript code that is not working for you? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Apr 22, 2010 at 4:23 PM, magelling

Re: ActiveMQ AJAX Problems

2010-04-22 Thread magellings
Dejan according to the latest MEAP of ActiveMQ in Action section 9.4.2 Example 9.25 you should be able to produce messages from Ajax. I'd like to be able to produce a message from javascript in order to verify the system is working appropriately. Then I can work on consuming messages with the Aj

Re: Messages appear in asynchronous queue one hour after send it

2010-04-22 Thread Bruce Snyder
On Thu, Apr 22, 2010 at 7:24 AM, Robert Jacolin wrote: > > Hello all, > > I'm using activemq 5.3.1 in an application with several queues and 2 > asynchronous queue for 3 servlets. > > Currently, I have a very big bug which break my application. My application > work well many time but sometimes wh

Re: activemq-cpp problem connecting with openwire 5.4.0

2010-04-22 Thread Timothy Bish
Great, glad to hear its working now. On Thu, Apr 22, 2010 at 9:24 AM, kkreja wrote: > > Must have been some bug in the previous snapshot that we used. > I downloaded today the newest 5.4.0 snapshot and now everything works fine. > > Sorry for the false alarm. > > Regards > kk > -- > View this mes

Re: activemq-cpp problem connecting with openwire 5.4.0

2010-04-22 Thread kkreja
Must have been some bug in the previous snapshot that we used. I downloaded today the newest 5.4.0 snapshot and now everything works fine. Sorry for the false alarm. Regards kk -- View this message in context: http://old.nabble.com/activemq-cpp-problem-connecting-with-openwire-5.4.0-tp28288

Messages appear in asynchronous queue one hour after send it

2010-04-22 Thread Robert Jacolin
Hello all, I'm using activemq 5.3.1 in an application with several queues and 2 asynchronous queue for 3 servlets. Currently, I have a very big bug which break my application. My application work well many time but sometimes when I send messages to an async queue, the messages appear in the queu

Re: bridgin third party software using MQ

2010-04-22 Thread Dixit Patel
thnks Gary, but I want to know what third party software need for that ? I heard about adapter, if it is mechanism to plug between mq and third party soft then how it works ? see: Apache Camel http://camel.apache.org/components.html for on the wire integration or for a simple messaging api for m

Re: bridgin third party software using MQ

2010-04-22 Thread Gary Tully
see: Apache Camel http://camel.apache.org/components.html for on the wire integration or for a simple messaging api for many languages see STOMP http://activemq.apache.org/stomp.html On 22 April 2010 11:24, Dixit Patel wrote: > > Hi experts.. > > How can I communicate with third party software u

bridgin third party software using MQ

2010-04-22 Thread Dixit Patel
Hi experts.. How can I communicate with third party software using my software (different laguage) ? what a third party software vendor need to provider for accessing that using MQ ? can adapter help ? how ? thnks in advance.. -- View this message in context: http://old.nabble.com/bridgin-thir

Re: Understanding the Exclusive Consumer

2010-04-22 Thread TonyTobin
Thanks Gary You have been a great help Gary Tully wrote: > > There are no real options there, it is handled by the broker and it > simply replays any unacked messages to the next consumer. > For the consumer app, there is the possibility that the second consumer > can > get a duplicate if ther

Re: Understanding the Exclusive Consumer

2010-04-22 Thread Gary Tully
There are no real options there, it is handled by the broker and it simply replays any unacked messages to the next consumer. For the consumer app, there is the possibility that the second consumer can get a duplicate if there is an outstanding ack at the time of failover, so the consumers needs to

Re: Understanding the Exclusive Consumer

2010-04-22 Thread TonyTobin
Thanks Gary, That makes sence. Are there any decent links on the different strategies for message persistence within consumers. A consumer is building up messages and then falls over, how the other consumer takes over. Managing failover within the consumer cluster. Thank you for your help T

Re: Understanding the Exclusive Consumer

2010-04-22 Thread Gary Tully
yes, but the consumers all have to be present, they already content for the lock. imagine an app that has a hot standby, both the primary and hot standby have started consumers. The broker delivers messages to the first consumer, the primary (because it got there first) and when/if it fails, it wi

Re: Understanding the Exclusive Consumer

2010-04-22 Thread TonyTobin
Thank you for your reply Gary, In the documentation for exclusive Consumer, it states "The broker will pick a single MessageConsumer to get all the messages for a queue to ensure ordering. If that consumer fails, the broker will auto failover and choose another consumer" Doesnt this mean that