Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-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 5BD24181A0 for ; Thu, 10 Mar 2016 21:40:16 +0000 (UTC) Received: (qmail 1921 invoked by uid 500); 10 Mar 2016 21:40:10 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 1876 invoked by uid 500); 10 Mar 2016 21:40:10 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 1865 invoked by uid 99); 10 Mar 2016 21:40:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 21:40:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 479A9C035F for ; Thu, 10 Mar 2016 21:40:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.486 X-Spam-Level: *** X-Spam-Status: No, score=3.486 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id onhTLW9CvJTk for ; Thu, 10 Mar 2016 21:40:06 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id EE8BC5F56B for ; Thu, 10 Mar 2016 21:40:05 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 0D0FE22A7F57 for ; Thu, 10 Mar 2016 13:31:00 -0800 (PST) Date: Thu, 10 Mar 2016 14:40:05 -0700 (MST) From: jrp256 To: users@camel.apache.org Message-ID: <1457646005183-5778889.post@n5.nabble.com> Subject: Camel+Spring Boot route with 2 ActiveMQ brokers on different servers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I've set up a route that reads from queue A, modifies the message, and writes to queue B. Queue A is on one server, queue B on another, so I've configured 2 connection factories with different names, consumeConnectionFactory and publishConnectionFactory. I can't get past the error: Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [javax.jms.ConnectionFactory] is defined: expected single matching bean but found 2: consumeConnectionFactory,publishConnectionFactory Can anyone point me to an example of how to do this? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Spring-Boot-route-with-2-ActiveMQ-brokers-on-different-servers-tp5778889.html Sent from the Camel - Users mailing list archive at Nabble.com.