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.