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 way

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 you

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: > http:/

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 li

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 itsel

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&node=5794958&i=0>] > > Sent: Monday, March 06, 2017 5:13 AM > > To: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=57949

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
is there 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 -

Camel performance issue

2017-03-06 Thread RichardChen
es 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.

Re: Camel Performance

2013-08-12 Thread Claus Ibsen
tiveSourceName; > > } > @JsonProperty("NativeSourceType") > public String getNativeSourceType() { > return nativeSourceType; > } > public void setNativeSourceType(String nativeSourceType) { >

Re: Camel Performance

2013-08-11 Thread Claus Ibsen
The simple/bean language has been performance improved from Camel 2.11 onwards, so try upgrading and give that a test. On Sun, Aug 11, 2013 at 5:30 AM, salemi wrote: > 2.10.4 > > > > - > Alireza Salemi > -- > View this message in context: > http://camel

Re: Camel Performance

2013-08-10 Thread salemi
2.10.4 - Alireza Salemi -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Performance-tp5736810p5737083.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Performance

2013-08-10 Thread Claus Ibsen
ublic String getNativeSourceName() { > return nativeSourceName; > } > public void setNativeSourceName(String nativeSourceName) { > this.nativeSourceName = nativeSourceName; > > } > @JsonProperty("NativeSourceType") > pu

Re: Camel Performance

2013-08-10 Thread Christian Müller
e(String nativeSourceName) { > this.nativeSourceName = nativeSourceName; > > } > @JsonProperty("NativeSourceType") > public String getNativeSourceType() { > return nativeSourceType; > } > public void setNativeSourceType(String nativeSourceType) { > this.nativeSourceType = nativeSourceType; > } > } > > > > - > Alireza Salemi > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Performance-tp5736810p5737053.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Camel Performance

2013-08-09 Thread salemi
} @JsonProperty("NativeSourceType") public String getNativeSourceType() { return nativeSourceType; } public void setNativeSourceType(String nativeSourceType) { this.nativeSourceType = nativeSourceType; } } -

Re: Camel Performance

2013-08-09 Thread salemi
- Alireza Salemi -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Performance-tp5736810p5737049.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Camel Performance

2013-08-06 Thread Zhemzhitsky Sergey
PM To: users@camel.apache.org Subject: RE: Camel Performance As for the JSON I have defined it in the data formats as followed. How can configure it to use always the same objectmapper. I am not sure how the JaksonDataFormat plays into this. I will try the client_acknwoledge and post the r

RE: Camel Performance

2013-08-06 Thread salemi
a point here. The body is a Message Class with an attribute messagetype which is string. Maybe that part is slow. I will into that as well. - Alireza Salemi -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Performance-tp5736810p5736821.html Sent from the Camel

RE: Camel Performance

2013-08-06 Thread Zhemzhitsky Sergey
ssage- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Tuesday, August 06, 2013 11:53 AM To: users@camel.apache.org Subject: Re: Camel Performance The predicates in your choice is using contains function which operates on String types. So if the toString operation of the message bo

Re: Camel Performance

2013-08-06 Thread Claus Ibsen
rove the performance of the 3 items mentioned > above? > > > > - > Alireza Salemi > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Performance-tp5736810.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen

Camel Performance

2013-08-05 Thread salemi
this message in context: http://camel.465427.n5.nabble.com/Camel-Performance-tp5736810.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel performance tuning

2012-11-12 Thread Claus Straube
alize on the index. *From:* Gonzalo Vasquez [mailto:gvasq...@altiuz.cl] *Sent:* Friday, November 09, 2012 10:16 PM *To:* users@camel.apache.org *Subject:* Re: Camel performance tuning Thanks for your answer, my comments: a) a 5M file could be loaded into memory, but I have streaming enabled as

Re: Camel performance tuning

2012-11-10 Thread Gonzalo Vásquez
You may also want to check out Hadoop and map reduce >>> >>> >>> >>> http://camel.apache.org/hdfs.html >>> >>> >>> >>> with respect to point a and b. >>> >>> >>> >>> You can have an inde

Re: Camel performance tuning

2012-11-10 Thread Claus Ibsen
You can have an index on the record and the “reduce” job can serialize on >> the index. >> >> >> >> *From:* Gonzalo Vasquez [mailto:gvasq...@altiuz.cl] >> *Sent:* Friday, November 09, 2012 10:16 PM >> *To:* users@camel.apache.org >> *Subject:* Re: Camel per

RE: Camel performance tuning

2012-11-09 Thread Ramkumar.Iyer
No attachment From: Gonzalo Vasquez [mailto:gvasq...@altiuz.cl] Sent: Saturday, November 10, 2012 12:55 AM To: users@camel.apache.org Subject: Re: Camel performance tuning Please see attached image from profiler, which shows the two method that get the 80% of CPU time. Also included again the

Re: Camel performance tuning

2012-11-09 Thread Gonzalo Vasquez
n the record and the “reduce” job can serialize on >> the index. >> >> >> >> *From:* Gonzalo Vasquez [mailto:gvasq...@altiuz.cl] >> *Sent:* Friday, November 09, 2012 10:16 PM >> *To:* users@camel.apache.org >> *Subject:* Re: Camel performance

Re: Camel performance tuning

2012-11-09 Thread Christian Müller
it possible to first split the files into chunks and then use > process the chunks independently ? > > d) Can you write into memory and flush at once ? > > e) Sync/Asynch : http://camel.apache.org/async.html > > > > *From:* Gonzalo Vasquez [mailto:gvasq...@altiuz.cl]

RE: Camel performance tuning

2012-11-09 Thread Ramkumar.Iyer
2 10:16 PM To: users@camel.apache.org Subject: Re: Camel performance tuning Thanks for your answer, my comments: a) a 5M file could be loaded into memory, but I have streaming enabled as file size could be in the range of GB. Notwithstanding, I'll check what Hypersonic & Mongo are,

Re: Camel performance tuning

2012-11-09 Thread Claus Ibsen
Hi Okay I have added some tests to Camel to see the performance for such use-case. https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/stress/ This test uses the Camel file producer https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/

Re: Camel performance tuning

2012-11-09 Thread Claus Ibsen
Hi The file component forces the write, to ensure its persistent on disk. See IOHelper.force method So when you do so many writes, then that ought to impact the performance. We could though allow to configure the behavior of force, so people can turn it off. On Fri, Nov 9, 2012 at 4:01 PM, Go

Re: Camel performance tuning

2012-11-09 Thread Claus Straube
Hi Gonzales. Take a look at this: http://www.catify.com/2012/07/09/parsing-large-files-with-apache-camel/ perhaps it solves your issue. Best regards - Claus I'm running a route that basically adds a character per line to a plain text file, but it's taking to long, and it seems that it's due

RE: Camel performance tuning

2012-11-09 Thread Ramkumar.Iyer
[mailto:gvasq...@altiuz.cl] Sent: Friday, November 09, 2012 8:32 PM To: users@camel.apache.org Subject: Camel performance tuning I'm running a route that basically adds a character per line to a plain text file, but it's taking to long, and it seems that it's due to some kind of

Re: Camel performance improvments

2011-01-27 Thread davsclaus
able to boot up Camel in less than 1/4 sec? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-performance-improvments-tp3354343p3359444.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel performance improvments

2011-01-25 Thread davsclaus
I suggest to check the methods on CamelContext which has many for configuring it. There is a setLazyLoadTypeConverters to set this option. Which you set before you start CamelContext. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-performance-improvments

Re: Camel performance improvments

2011-01-24 Thread davsclaus
/browse/CAMEL-3260 -- View this message in context: http://camel.465427.n5.nabble.com/Camel-performance-improvments-tp3354343p3354463.html Sent from the Camel - Users mailing list archive at Nabble.com.