camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinn Stevenson <qu...@pronoia-solutions.com>
Subject Re: ActiveMQ concurrentConsumers vs multiple connections
Date Thu, 18 Feb 2016 16:03:55 GMT
Can you try camel-sjms?  Note that it doesn’t support XA transactions.

> On Feb 18, 2016, at 8:50 AM, slew77 <stephen.lewis77@yahoo.co.uk> wrote:
> 
> 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.


Mime
View raw message