[ 
https://issues.apache.org/jira/browse/AMQ-6706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055898#comment-16055898
 ] 

ASF subversion and git services commented on AMQ-6706:
------------------------------------------------------

Commit 155461a0ba0a082f5a8459f17ae6166bae950231 in activemq's branch 
refs/heads/master from [~zregvart]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=155461a ]

AMQ-6706 Allow for hooks before broker stop occurs

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.


> Allow for hooks before broker stop occurs
> -----------------------------------------
>
>                 Key: AMQ-6706
>                 URL: https://issues.apache.org/jira/browse/AMQ-6706
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: activemq-camel, Broker
>         Environment: Every ActiveMQ version with embedded Camel
>            Reporter: Zoran Regvart
>            Assignee: Christopher L. Shannon
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to