Hello,

I'm currently experiencing the following; when shutting down my Camel
application I regularly receive "Singleton bean creation not allowed while
the singletons of this factory are in destruction" exceptions.

The exceptions are thrown for beans used by my routebuilders, reference by
the "beanRef" from the Java DSL. It seems that somehow these beans get
shutdown before my routebuilder get's shutdown, could that be the case and
if so, why?

Here's some relavent information:

* Camel version: 2.9.0.
* Async JMS consumers.
* Beans are called from Java DSL routebuilder using "beanRef".
* Some of the routes use the throttler component.

Code snippet (simplified for example):



Exception stacktrace:



Anyone got a clue?

Thanks in advance!

--
View this message in context: 
http://camel.465427.n5.nabble.com/Singleton-bean-creation-not-allowed-while-the-singletons-of-this-factory-are-in-destruction-during-sn-tp5713684.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to