activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yin Wang <suon...@gmail.com>
Subject Re: Activating consumer for each message groups
Date Sat, 19 Jul 2014 09:06:21 GMT
If you have existing messages in the broker and add consumers at a later
stage, it is a good idea to delay message dispatch start until all
consumers are present (or at least to give enough time for them to
subscribe). If you don't do that the first consumer will probably acquire
all message groups and all messages will be dispatched to it. You can
achieve this by usingconsumersBeforeDispatchStarts and
timeBeforeDispatchStarts destination policies
<http://activemq.apache.org/per-destination-policies.html>.
take a look at http://activemq.apache.org/message-groups.html

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message