You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by mistrz <gr...@edmunds.com> on 2010/02/02 20:17:29 UTC

ProducerTemplate

1. Can one ProducerTemplate be shared by multiple threads?
2. Is there any benefit to use JMS connection pooling when using
ProducerTemplate? 

thx! 

-- 
View this message in context: http://old.nabble.com/ProducerTemplate-tp27425867p27425867.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: ProducerTemplate

Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Feb 2, 2010 at 8:17 PM, mistrz <gr...@edmunds.com> wrote:
>
> 1. Can one ProducerTemplate be shared by multiple threads?

Yes


> 2. Is there any benefit to use JMS connection pooling when using
> ProducerTemplate?
>

ProducerTemplate and JMS pooling are not related.

Its always a benefit to use JMS connection pooling.



> thx!
>
> --
> View this message in context: http://old.nabble.com/ProducerTemplate-tp27425867p27425867.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus