Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Implemented
-
None
-
None
-
Unknown
Description
There have been issues in the past where the user needs to control the destruction order of CamelContext with regards to other dependencies. Notably resources such as connection pools. AMQ-3988 notes one of those for JMS connection pools.
Prompted by the discussion on the user forum we should investigate if there is a way we can get CamelContext priority on shutdown.
One idea is to use lifecycle beans as in PR#1685.
We should evaluate if this change introduces other issues.
Attachments
Issue Links
- is related to
-
CAMEL-11715 Camel Spring : unable to mix xml and java routes
-
- Resolved
-
-
CAMEL-9431 camel-spring-boot - TypeConverter autoconfiguration leads to invalid shutdown sequence
-
- Resolved
-
-
CAMEL-9830 camel-spring-javaconfig - Add routes like spring-boot does
-
- Resolved
-
- relates to
-
CAMEL-11405 Create a per-SpringCamelContext replacement for `noStart` flag
-
- Resolved
-
- links to