activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nakul Chakrapani <>
Subject ActiveMQ message Dispatch policies
Date Fri, 27 May 2011 08:38:43 GMT
Hi all , 

       Can anyone tell me how to change the mesage dispatch policy in apache
activeMQ ( am using version 5.4.2).
       As all of u know , default dispatch policy is RoundRobin. But the
problem with that policy is , if one consumer goes down or is blocked for
some reason , other consumers ll not receive the messages even if there are
some messages in the queue.
I want to change the dispatch policy , such that even if one of the
consumers go down , other consumers must continue their work without
depending upon other clients. 
      I also used setDispatchAsync() method , but it didnt help.
      Please help me in this regard.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message