Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6706

Allow for hooks before broker stop occurs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.15.0
    • Broker, Camel
    • None
    • Every ActiveMQ version with embedded Camel

    Description

      When Camel is run embedded within ActiveMQ it's shutdown is called at the point the broker is already stopped, this can lead to data loss as there could be exchanges that have not ended.
      I propose a preStopHook(s) that can be invoked during ActiveMQ shutdown but before the broker is shutdown.
      This would allow Camel to gracefully shutdown while the broker is still started.

      Attachments

        Issue Links

          Activity

            People

              cshannon Christopher L. Shannon
              zregvart Zoran Regvart
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: