Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AA614200CA9 for ; Fri, 16 Jun 2017 15:32:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A94D5160BDD; Fri, 16 Jun 2017 13:32:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 039A6160BD2 for ; Fri, 16 Jun 2017 15:32:07 +0200 (CEST) Received: (qmail 94940 invoked by uid 500); 16 Jun 2017 13:32:07 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 94928 invoked by uid 99); 16 Jun 2017 13:32:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2017 13:32:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 72010DFBC6; Fri, 16 Jun 2017 13:32:04 +0000 (UTC) From: zregvart To: dev@activemq.apache.org Reply-To: dev@activemq.apache.org Message-ID: Subject: [GitHub] activemq pull request #254: AMQ-6706 Allow for hooks before broker stop occu... Content-Type: text/plain Date: Fri, 16 Jun 2017 13:32:04 +0000 (UTC) archived-at: Fri, 16 Jun 2017 13:32:08 -0000 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 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. ---