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 9CE8A652E for ; Tue, 7 Jun 2011 12:07:47 +0000 (UTC) Received: (qmail 28981 invoked by uid 500); 7 Jun 2011 12:07:47 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 28946 invoked by uid 500); 7 Jun 2011 12:07:47 -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 28938 invoked by uid 99); 7 Jun 2011 12:07:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 12:07:47 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 12:07:40 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QTv43-0002vW-AO for users@camel.apache.org; Tue, 07 Jun 2011 05:07:19 -0700 Date: Tue, 7 Jun 2011 05:07:19 -0700 (PDT) From: Hossein To: users@camel.apache.org Message-ID: <1307448439310-4461549.post@n5.nabble.com> In-Reply-To: <4DEDDF4C.1000602@gmail.com> References: <1307396257158-4460059.post@n5.nabble.com> <4DEDDF4C.1000602@gmail.com> Subject: Re: Java DSL - Dynamic Broker Config MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Willem, Thanks for your email reply. How would I set up my connections in Java DSL? Usually, I setup the connection in Spring like [1]. However, that would work for connecting to 1 broker. Our requirement is to connect to +100 brokers. Yes that is correct +100 brokers. The plan is to have multiple SMX connecting to these brokers. Let's say we have 2 SMX, same bundle in each SMX. SMX1, Bundle1 would connect to brokers 1-50 and the other to 51-100 [2]. So, question is how would I setup my Java DSL to dynamically create connection and create route? [1] brokerUrl=url1,userId=userid1,pwd=pwd1,topicName=tname1 ... key="bundle1_tn">brokerUrl=url2,userId=userid2,pwd=pwd2,topicName=tname2 -- View this message in context: http://camel.465427.n5.nabble.com/Java-DSL-Dynamic-Broker-Config-tp4460059p4461549.html Sent from the Camel - Users mailing list archive at Nabble.com.