Re: JMS pub/sub (using Camel) performance issue with MQ in XA transactions

2019-09-04 Thread Benoit Fortin
The cache shouldn’t be enabled, as we are using XA (as per Camel’s recommendation). We have also tuned the polling interval. That being said, what hurts the I/O subsystem on the MQ server is the Subscribe operation itself (not the polling for messages). I am wondering is if there would be any

Re: JMS pub/sub (using Camel) performance issue with MQ in XA transactions

2019-09-04 Thread Claus Ibsen
camel-jms uses spring jms, so there are many users with this combo also with IBM MQ and XA. Look at the many options spring jms has to tune its polling, and also cache levels you can tweak. There may be some more idle options you can set to make it "sleep" longer when there are no messages. But

Re: JMS pub/sub (using Camel) performance issue with MQ in XA transactions

2019-09-03 Thread Benoit Fortin
Hi, We do need XA as the client application is doing 2 phase commit in (1) the subscription and (2) a database. On Tue, Sep 3, 2019 at 14:49 Jean-Baptiste Onofré wrote: > Hi, > > What about using pure ACK mode ? > > You can see an example with queue (same can be applied to topic) here: >

Re: JMS pub/sub (using Camel) performance issue with MQ in XA transactions

2019-09-03 Thread Jean-Baptiste Onofré
Hi, What about using pure ACK mode ? You can see an example with queue (same can be applied to topic) here: http://blog.nanthrax.net/?p=820 My point is: do you need XA as AFAIU you are using only JMS as resource (XA is required when you want to use the same transaction with different backends

JMS pub/sub (using Camel) performance issue with MQ in XA transactions

2019-09-03 Thread Benoit Fortin
We have a java application doing JMS subscriptions that is using Camel as its JMS provider. The application is subscribing to a topic using XA. It consumes 1 message in the queue, and then closes the XA transaction (each message is part of an XA transaction). Then the application re-attaches

Re: Camel performance issue

2017-03-06 Thread RichardChen
problem I think. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-performance-issue-tp5794918p5794957.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel performance issue

2017-03-06 Thread souciance
t; > -Original Message- > > From: RichardChen [mailto:[hidden email] > <http:///user/SendEmail.jtp?type=node=5794958=0>] > > Sent: Monday, March 06, 2017 5:13 AM > > To: [hidden email] > <http:///user/SendEmail.jtp?type=node=5794958=1> > > Subject: Ca

RE: Camel performance issue

2017-03-06 Thread Steve Huston
rg > Subject: Camel performance issue > > We are facing performance problem when we integrate camel into our > product. > The simple scenario is this: let camel monitor a folder, put 1000 xml files to > that folder, camel consume all the files and send them to ActiveMQ. > >

Re: Camel performance issue

2017-03-06 Thread souciance
ere some advices on improving performance of my scenario? Thanks -- If you reply to this email, your message will be added to the discussion below: http://camel.465427.n5.nabble.com/Camel-performance-issue-tp5794918.html To start a new topic under Camel - User

Camel performance issue

2017-03-06 Thread RichardChen
on improving performance of my scenario? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Camel-performance-issue-tp5794918.html Sent from the Camel - Users mailing list archive at Nabble.com.