RE: Bean Expression Performance

2012-06-25 Thread mhillary
:01 To: mhillary Subject: Re: Bean Expression Performance Hi Yeah we should optimize this. I have logged a JIRA https://issues.apache.org/jira/browse/CAMEL-5392 On Mon, Jun 25, 2012 at 12:13 AM, mhillary [hidden email] wrote: Hi All, I've been investigating some performance issues

Re: Bean Expression Performance

2012-06-25 Thread mhillary
Great, I’ve added a patch to the Jira. I’ve tried to make the change as small as possible. Please let me know if you think there’s anything that should be changed. Thanks, Mark Reposting as the first email was rejected by the spam filter :-( -- View this message in context:

DefaultJmsKeyFormatStrategy Performance

2012-06-25 Thread mhillary
Hi All, While looking at some performance issues in our application I noticed it was spending an unexpectedly large amount of time escaping header keys in the DefaultJmsKeyFormatStrategy. This seems to be down to the use of String.replace/replaceAll that are implemented using regular expressions.

Bean Expression Performance

2012-06-24 Thread mhillary
Hi All, I've been investigating some performance issues on a project that's using Camel. As part of this I've noticed that bean expressions execute far more slowly than expected. For example the following line takes over 1ms in our tests whereas using a processor to do the same thing takes