activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yousafsajjad <>
Subject Re: Point-to-Point Model - Multiple Consumers - ActiveMQ - 5.3.2
Date Tue, 26 Jul 2011 01:18:50 GMT
Broker push messages to the consumer in a roundrobin fashion. So I believe if
you run your program a little longer you would be able to see the pattern.
You can avoid it by setting prefetch limit = 1. This is enable consumers to
poll for messages from the queue.

Also it would better if you use pooledconnection instead of establishing
connection every single time.

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

View raw message