activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swathig <swathi.gangise...@gmail.com>
Subject Re: Dispatch Policy
Date Sun, 24 Jul 2011 22:12:49 GMT
I'm using ServiceMix and activemq broker to transport messages between
services deployed in ServiceMix. I'm observing a round robining pattern in
the order in which activemq chooses the concurrent consumers to push the
messages to. This seems to be the case even when the prefetch is modified to
1. I cannot use a prefetch of 0 since I'm using Spring. I've tried changing
the dispatch policy to Simple Dispatch in the activemq configuration xml but
I continue to see the same behavior. Is there any way I can configure
activemq to push a message to the first available consumer (rather than
round robin through consumers which I guess is the default out of box
setting for the version of activemq I'm using)?

--
View this message in context: http://activemq.2283324.n4.nabble.com/Default-Dispatch-Policy-and-Pending-message-Limit-Strategy-tp2365262p3691134.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message