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

Revise Camel context destruction in Spring (Boot) applications

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: