I have a two threads (routes with different timer id in consumer).
I created my own camel component (with endpoint and producer). 
This component should handle concurrency access (read/write) to datastore
(LDAP) for all threads.

>From debug I see that each thread/route create its own instance of component
(and of course it cache if singleton) but how can I have singleton of
myComponent for all threads/routes to handle concurrency from different
threads/routes?

Thanks for any advice.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Component-singleton-for-all-routes-tp5755446.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to