Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11261

Revise Camel context destruction in Spring (Boot) applications

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Implemented
    • None
    • 2.20.0
    • 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

          Activity

            People

              zregvart Zoran Regvart
              zregvart Zoran Regvart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: