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

Allow for hooks before broker stop occurs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.15.0
    • Component/s: activemq-camel, Broker
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: