activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher L. Shannon (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-6706) Allow for hooks before broker stop occurs
Date Tue, 20 Jun 2017 15:08:00 GMT

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

Christopher L. Shannon edited comment on AMQ-6706 at 6/20/17 3:07 PM:
----------------------------------------------------------------------

[~zregvart]- Thanks for the PR, I have merged it in.  I added one minor tweak to your patch
as a new commit.  This will go out with 5.15.0 and that version should be released soon.


was (Author: christopher.l.shannon):
[~zoran] - Thanks for the PR, I have merged it in.  I added one minor tweak to your patch
as a new commit.  This will go out with 5.15.0 and that version should be released soon.

> 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)

Mime
View raw message