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 40B48200B99 for ; Tue, 20 Sep 2016 16:53:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F479160AC5; Tue, 20 Sep 2016 14:53: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 84C8D160AC0 for ; Tue, 20 Sep 2016 16:53:21 +0200 (CEST) Received: (qmail 68663 invoked by uid 500); 20 Sep 2016 14:53: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 68639 invoked by uid 99); 20 Sep 2016 14:53:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2016 14:53:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 95A272C2A63 for ; Tue, 20 Sep 2016 14:53:20 +0000 (UTC) Date: Tue, 20 Sep 2016 14:53:20 +0000 (UTC) From: "clebert suconic (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (ARTEMIS-740) Auto-reload diverts from broker.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 20 Sep 2016 14:53:22 -0000 [ https://issues.apache.org/jira/browse/ARTEMIS-740?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D155= 06796#comment-15506796 ]=20 clebert suconic edited comment on ARTEMIS-740 at 9/20/16 2:52 PM: ------------------------------------------------------------------ The implementation should be simple. on ActiveMQServerImpl, ConfigurationFileReloader, on the reload method, som= eone should: for (DivertConfiguration config : configuration.getDivertConfiguratio= ns()) { deployDivert(config); } Although there is an extra step to be done. Right now the code would duplic= ate diverts. So we would need to verify if the Divert already exists before= duplicating it. I don't expect to delete diverts, same way as this is not removing queues. was (Author: clebertsuconic): The implementation should be simple. on ActiveMQServerImpl, ConfigurationFileReloader, on the reload method, som= eone should: ``` for (DivertConfiguration config : configuration.getDivertConfiguratio= ns()) { deployDivert(config); } ``` Although there is an extra step to be done. Right now the code would duplic= ate diverts. So we would need to verify if the Divert already exists before= duplicating it. I don't expect to delete diverts, same way as this is not removing queues. > Auto-reload diverts from broker.xml > ----------------------------------- > > Key: ARTEMIS-740 > URL: https://issues.apache.org/jira/browse/ARTEMIS-740 > Project: ActiveMQ Artemis > Issue Type: Improvement > Components: Broker > Affects Versions: 1.4.0 > Reporter: Ville Skytt=C3=A4 > Fix For: 1.5.0 > > > Automatic reloading of diverts from broker.xml would be equally useful as= for addresses, security, and jms destinations, see ARTEMIS-601 -- This message was sent by Atlassian JIRA (v6.3.4#6332)