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 65C3D10E80 for ; Fri, 23 Jan 2015 11:28:49 +0000 (UTC) Received: (qmail 54304 invoked by uid 500); 23 Jan 2015 11:28:49 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 54254 invoked by uid 500); 23 Jan 2015 11:28:49 -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 Received: (qmail 54243 invoked by uid 99); 23 Jan 2015 11:28:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2015 11:28:48 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of sylvain.mougenot@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2015 11:28:43 +0000 Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id E66231178932 for ; Fri, 23 Jan 2015 03:27:52 -0800 (PST) Date: Fri, 23 Jan 2015 03:24:15 -0800 (PST) From: SylvainMougenot To: users@activemq.apache.org Message-ID: <1422012255271-4690323.post@n4.nabble.com> Subject: activemq inside servicemix : change broker-name MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I can't figure out how to change broker-name when using activemq inside servicemix. I changed broker-name in the file etc/org.apache.activemq.server-default.cfg (to 'local-broker'). But I've an error because org.apache.servicemix.activemq.service is trying to use default broker name 'amq-broker'. Could anyone tell me what I missed? Looking at the bundle blueprint (activemq-service.xml); it might be related to the difference between placeholder configurations (${} vs $[]). Some exemple from the blueprint : Below some details Error message : 015-01-22 17:28:30,036 | ERROR | referentiel.out] | faultJmsMessageListenerContainer | 110 - org.apache.servicemix.bundles.spring-jms - 3.2.9.RELEASE_1 | Could not refresh JMS Connection for destination 'v6.referentiel.out' - retrying in 5000 ms. Cause: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException: Broker named 'amq-broker' does not exist. I'm using servicemix 5.3 / activemq 5.10 Features activemq 5.10.0 activemq-core-5.10.0 Installed activemq-blueprint 5.10.0 activemq-5.10.0 Uninstalled activemq-broker 5.10.0 activemq-5.10.0 Uninstalled activemq-broker-noweb 5.10.0 activemq-5.10.0 Installed activemq-camel 5.10.0 activemq-5.10.0 Installed activemq-client 5.10.0 activemq-core-5.10.0 Installed activemq-service 5.3.0 servicemix-features-5.3.0 Installed activemq-web-console 5.10.0 activemq-5.10.0 Installed Bundles activeio-coreorg.apache.activemq.activeio-core 3.1.4, activemq-camelorg.apache.activemq.activemq-camel 5.10.0, activemq-karafactivemq-karaf 5.10.0, activemq-osgiorg.apache.activemq.activemq-osgi 5.10.0, activemq-web-consoleorg.apache.activemq.activemq-web-console 5.10.0, Apache ServiceMix :: ActiveMQ :: Camelorg.apache.servicemix.activemq.camel 5.3.0, Apache ServiceMix :: ActiveMQ :: Serviceorg.apache.servicemix.activemq.service 5.3.0 In file etc/org.apache.activemq.server-default.cfg broker-name = local-broker config=${karaf.base}/etc/activemq.xml In file etc/activemq.xml