Is there a reason you would not consider using separate queues for each of the different consumers? Seems that it may simplify your solution.
Matt Pavlovich On Aug 31, 2010, at 12:30 PM, ChicagoBob123 <b...@bobfx.com> wrote: > > Newbie question about many consumers and many producers. > I have searched and read through some of the archives but have not been able > to find an answer to this question. > I am working on an application that will have several different producers. > They supply messages to > a common queue. The messages contain ID's for consumers of the messages to > know to it is their message/task. But when ever I acknowledge I have > received a message all the messages from > the queue are removed and now consumers that may have been off line can no > longer get their message. > > Am I missing something basic here. > > I tried to browse the queue and that will not remove any messages. > I tried to only acknowledge messages via the Client Acknowledge. As soon as > I acknowledge all the messages are removed. ??? > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Newbie-question-about-many-consumers-and-many-producers-tp2402003p2402003.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.