activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregvart <...@git.apache.org>
Subject [GitHub] activemq pull request #254: AMQ-6706 Allow for hooks before broker stop occu...
Date Fri, 16 Jun 2017 13:32:04 GMT
GitHub user zregvart opened a pull request:

    https://github.com/apache/activemq/pull/254

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zregvart/activemq AMQ-6706

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq/pull/254.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #254
    
----
commit 4edfc6cfb1d563b1b61909267e15b4197295390c
Author: Zoran Regvart <zregvart@apache.org>
Date:   2017-06-16T13:29:55Z

    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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message