Hi,

Thanks for the ideas.

>From what I can see, the consumer only uses a single connection and is
allowed up to 500 (default) sessions and it's these sessions that the
concurrent consumers use.

I can see this is the case if I use the activemq web console and inspect the
active connections. I can see a session for each concurrent consumer and
each session belongs to the same connection. Further each consumer seems to
have a fairly even spread of the message load.

I've also now set the prefetch size to 10 using
?jms.prefetchPolicy.queuePrefetch=10 on the broker URI, but doesn't seem to
make a difference. I can see the setting has applied from the web console.

Appreciate any more suggestions to check.

Thanks,
Steve.



--
View this message in context: 
http://camel.465427.n5.nabble.com/ActiveMQ-concurrentConsumers-vs-multiple-connections-tp5777831p5777853.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to