Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BD45A1743F for ; Wed, 6 May 2015 14:17:03 +0000 (UTC) Received: (qmail 28240 invoked by uid 500); 6 May 2015 14:17:03 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 28203 invoked by uid 500); 6 May 2015 14:17:03 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Delivered-To: moderator for users@activemq.apache.org Received: (qmail 54088 invoked by uid 99); 5 May 2015 21:00:21 -0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_PASS,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for users@activemq.apache.org) Date: Tue, 5 May 2015 13:44:14 -0700 (PDT) From: djsfive To: users@activemq.apache.org Message-ID: <1430858654508-4696120.post@n4.nabble.com> Subject: CamelRoutesBroker plugin won't shut down routes on reload MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org AMQ version 5.11 on RHLinux version 6.6. I am running in a test environment, and there are no other users on my system. I am using the Camel Routes Broker plugin in my AMQ broker in order to route messages between topics: I have a separate routes.xml file which loads up my route just fine: Example route ${header.JMSType} == 1111 And it works . I can see from the jConsole that my route gets loaded up as "route1", and the message gets forwarded in AMQ. The problem occurs when I update routes.xml to have a "to uri" of topic.C, camel still has "route1" running, and I can verify that there are 2 consumers on topicA. jConsole reports that both route1 and route2 are actively running in Camel. I expected the old routes to all be removed, and the new definitions added in. I have looked at the CamelRoutesBroker.java code, and it seems to be stopping and removing the old route definition, but my runtime says otherwise.... Any idea what may be wrong? I don't see any configuration parms that would affect this behavior. Dan -- View this message in context: http://activemq.2283324.n4.nabble.com/CamelRoutesBroker-plugin-won-t-shut-down-routes-on-reload-tp4696120.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.