The answer below is assuming that all your apps are consumers and not queue browsers. If thats not the case then please let me know.
Rajith On Wed, Mar 9, 2011 at 9:53 AM, Rajith Attapattu <[email protected]> wrote: > Kim, > > If you want all the apps (consumers) on the same queue to get all the > messages in the queue, then using 'Queues (as in JMS terms)' is not going > to do it. > As in a shared queue situation the messages will be distributed among them. > > Therefore you should use a Topic and all your consumers will get a copy of > every message sent to that topic. > > Regards, > > Rajith > > > On Wed, Mar 9, 2011 at 12:05 AM, Kim Garcia <[email protected]> wrote: > >> >> Rajith, >> >> I have been trying to respond to your email all day but Hotmail keeps >> saying the delivery has failed... >> >> >> ---------------------------------------------------------------------------------------------------------------------------- >> >> Thank you for looking into this, Rajith. >> >> I'm not using any >> tools to verify if the message has been acked. I am running 2 of the >> same Java application. If I only run one, then it will get the messages >> like normal. If I run 2, they do not both get the same messages. I see >> that if app #1 gets message #1, then app #2 will not get message #1. The >> same applies for messages app #2 gets -- app #1 will not get them. I >> would like several apps to monitor the same queue with a listener and >> for all apps to get all of the messages. >> >> Thanks. >> >> > Date: Mon, 7 Mar 2011 18:07:19 -0500 >> > Subject: Re: onMessage() always acknowledges msg even if Session is set >> to CLIENT_ACK > > >
