RE: Performance issue with Camel JMS publish/subscribe

2011-12-12 Thread RadoslavStoyanov
Hi Sven, Thanks for the hint! We'll investigate further... Thanks once more for the nice assistance! Regards, Rado -- View this message in context: http://camel.465427.n5.nabble.com/Performance-issue-with-Camel-JMS-publish-subscribe-tp5049909p5068422.html Sent from the Camel - Users mailing

RE: Performance issue with Camel JMS publish/subscribe

2011-12-08 Thread RadoslavStoyanov
Hi Sven, Adding the cached factory wrapper increased the performance with 800%! Now I have another issue, when I do threaded send - 10 threads publish to the same endpoint and one consumer - it happens that some of the messages are lost (didn't reach the consumer) - not a big number, but there

RE: Performance issue with Camel JMS publish/subscribe

2011-12-08 Thread Sven Zethelius
@camel.apache.org Subject: RE: Performance issue with Camel JMS publish/subscribe Hi Sven, Adding the cached factory wrapper increased the performance with 800%! Now I have another issue, when I do threaded send - 10 threads publish to the same endpoint and one consumer - it happens that some

RE: Performance issue with Camel JMS publish/subscribe

2011-12-07 Thread RadoslavStoyanov
Hi Sven, Thanks a lot! This explains the current behavior, I'll try the proposed solution and will give you a feedback if the problem is still present or is solved. Regards, Rado -- View this message in context:

RE: Performance issue with Camel JMS publish/subscribe

2011-12-06 Thread RadoslavStoyanov
Hi Sven, This is code snippet of my publish functionality: Producer producer = producers.get(eventTypeID); if(producer == null) { String inChannel = resolveEventTypeToInChannel(eventTypeID);

RE: Performance issue with Camel JMS publish/subscribe

2011-12-06 Thread RadoslavStoyanov
Sorry I mean producer, not publisher -- View this message in context: http://camel.465427.n5.nabble.com/Performance-issue-with-Camel-JMS-publish-subscribe-tp5049909p5052134.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Performance issue with Camel JMS publish/subscribe

2011-12-06 Thread Sven Zethelius
: RadoslavStoyanov [mailto:radoslav.stoya...@softwareag.com] Sent: Tuesday, December 06, 2011 5:54 AM To: users@camel.apache.org Subject: RE: Performance issue with Camel JMS publish/subscribe Hi Sven, This is code snippet of my publish functionality: Producer producer

RE: Performance issue with Camel JMS publish/subscribe

2011-12-05 Thread Sven Zethelius
I suspect you aren't caching the connection/sessions. Try wrapping the connectionfactory with a org.springframework.jms.connection.SingleConnectionFactory or org.springframework.jms.connection.CachingConnectionFactory. In your direct case, you have a persisted connections, and most likely a