Can  you try SJMS without the Spring transaction config?

I think all you need is an ActiveMQConnectionFactory ( not even a pooled one 
since SJMS does it’s own internal pooling ) and the “transacted=true” URI 
parameter.  I think you’ll have to get rid of the <transacted/> as well.

> On Feb 18, 2016, at 9:29 AM, slew77 <[email protected]> wrote:
> 
> Hi,
> 
> Sjms works well without local transactions, but as soon as they are turned
> on it seems even slower than using the activemq component.
> 
> In all these cases, one thing I've spotted that seems odd is, if I monitor
> the In flight count, I only ever see it as 0 or 1, no matter how busy the
> system is. This happens even with the prefetch count set to 1.
> 
> Cheers,
> Steve.
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/ActiveMQ-concurrentConsumers-vs-multiple-connections-tp5777831p5777860.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to