mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 15:08:10 +00:00
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. This adds the ability to specify preStopHook(s) that can be invoked during ActiveMQ shutdown but before the broker is shutdown. With this Camel can gracefully shutdown while the broker is still started.