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 4FFC3200B67 for ; Mon, 1 Aug 2016 18:29:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4EC11160A66; Mon, 1 Aug 2016 16:29:22 +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 9A93E160A6C for ; Mon, 1 Aug 2016 18:29:21 +0200 (CEST) Received: (qmail 27432 invoked by uid 500); 1 Aug 2016 16:29:20 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 27307 invoked by uid 99); 1 Aug 2016 16:29:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2016 16:29:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8266F2C0D5D for ; Mon, 1 Aug 2016 16:29:20 +0000 (UTC) Date: Mon, 1 Aug 2016 16:29:20 +0000 (UTC) From: "Christopher L. Shannon (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-6373) Add a command to synchronize durable subscriptions over a network bridge MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 01 Aug 2016 16:29:22 -0000 [ https://issues.apache.org/jira/browse/AMQ-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher L. Shannon resolved AMQ-6373. ----------------------------------------- Resolution: Fixed I'm resolving this for now as we are about to release 5.14.0. If issues arise they can be fixed in patch releases. The behavior is off by default so this should be fine. > Add a command to synchronize durable subscriptions over a network bridge > ------------------------------------------------------------------------ > > Key: AMQ-6373 > URL: https://issues.apache.org/jira/browse/AMQ-6373 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker, networkbridge > Affects Versions: 5.13.4 > Reporter: Christopher L. Shannon > Assignee: Christopher L. Shannon > Fix For: 5.14.0 > > > When dynamicallyIncludedDestinations are used for a NetworkConnector durable subscriptions are tracked (added/removed) in the connector. This allows the broker to create network subscriptions automatically on a remote broker to match the demand that is created and then to destroy the network subscriptions when no longer needed. > The problem with this is that if the bridge is restarted or if the brokers are restarted, the information about the durable subscriptions is lost. For example, if the bridge is stopped and a local durable subscription is added, this new durable will not be added to the remote conduit network conduit subscription on reconnect. Or, if a local durable subscription is removed while the bridge is offline, on reconnect the remote durable sub will not be cleaned up even if there are no more matching durables. > To fix this we need to add a new OpenWire command to support the syncing of durable subscriptions when a bridge is restarted. The goal of this command is to re-add missing subscriptions and to clean up no longer needed subscriptions on reconnect. > Note that this new sync option will only apply when dynamicOnly is false and conduitSubscriptions is true. (both of these are enabled by default) -- This message was sent by Atlassian JIRA (v6.3.4#6332)