2008/12/10 Christian Schneider <[EMAIL PROTECTED]>:
> Hi James,
>
> Anurag tried to use the JMSComponent with the spring
> SingleConnectionFactory. This should ensure that only one connection is
> used.

But it still creates a brand new Session and then either a Producer or
Consumer - then closes them all down for every single message.

> So I would not expect that such an error should happen. In any case I fear
> that this problem could also happen with other jms providers that
> do not have a special module in Camel.

When using JMS you should always be careful about pooling to avoid
using it very inefficiently.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Reply via email to