You are correct. The message should only dispatch to one of the three. One thing to check: are all three getting a msg with the same msg id and with the JMSRedelivered flag set?
Sent from my iPhone > On Mar 7, 2014, at 10:53 AM, "Raul Kripalani-2 [via ActiveMQ]" > <ml-node+s2283324n467864...@n4.nabble.com> wrote: > > Hi Gary, > > On Fri, Mar 7, 2014 at 4:41 PM, Gary Tully <[hidden email]> wrote: > > > that is expected. with the caveat that you would need to repeat a few > > times to get it delivered to all the consumers. > > > > Why is this? If I understood correctly, the OP reported that the same > message on a queue got redelivered to *all consumers* on that queue, i.e. > AMQ followed the publish-subscribe behaviour rather than the point-to-point > behaviour. > > If there are multiple consumers there is no guarantee that the same > > consumer gets the messages the next time. > > > Agreed; but why is the message redelivered to *all* other consumers instead > of the broker picking one (i.e. competing consumers)? > > Apologies if I misunderstood something ;-) > > Regards, > > *Raúl Kripalani* > Apache Camel PMC Member & Committer | Enterprise Architect, Open Source > Integration specialist > http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani > http://blog.raulkr.net | twitter: @raulvk > > > If you reply to this email, your message will be added to the discussion > below: > http://activemq.2283324.n4.nabble.com/Same-message-redelivered-to-multiple-consumers-after-failover-tp4678640p4678647.html > To start a new topic under ActiveMQ - User, email > ml-node+s2283324n234180...@n4.nabble.com > To unsubscribe from ActiveMQ - User, click here. > NAML -- View this message in context: http://activemq.2283324.n4.nabble.com/Same-message-redelivered-to-multiple-consumers-after-failover-tp4678640p4678648.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.