camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Component singleton for all routes
Date Thu, 21 Aug 2014 08:32:44 GMT
Hi

Well then you do something not right in your "thread code". There
should be 1 camel context which you use, and get the producer from.

On Thu, Aug 21, 2014 at 10:30 AM, martin11 <mato.krajcir@gmail.com> wrote:
> Yes, isSingleton of MyProducer returns 'true' but ProducerCache in camel core
> is new instance for every thread and then createProducer() is called once
> per thread.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Component-singleton-for-all-routes-tp5755446p5755474.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message