Performance improvement in DefaultCamelContext (CAMEL-6485)

2013-06-24 Thread ladoe00
Hi, just a quick note to let you know that I have created a JIRA issue (https://issues.apache.org/jira/browse/CAMEL-6485) about a performance improvement I've made to DefaultCamelContext. A patch is attached to the task. It should not impact the behavior of the class, but it will be better whe

Re: Little ProducerCache performance improvement when dealing with long URIs

2013-04-22 Thread ladoe00
Seems like I was too quick to pull the trigger on that one. I wasn't defining any log4j configuration in my test case and this cause the debug to be turned on, but not outputted. The SLF4J debug method takes an Object and not a String for its argument, so toString() will not be called when evalua

Little ProducerCache performance improvement when dealing with long URIs

2013-04-22 Thread ladoe00
Hi, While working on a new Camel component (https://issues.apache.org/jira/browse/CAMEL-5828) and doing a speed comparison between SEDA and DISRUPTOR endpoints, we ran into a test that would take a lot more time then expected. This test was about using a SEDA endpoint with a lot of parameters d