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 2A329D1B9 for ; Fri, 21 Sep 2012 14:49:57 +0000 (UTC) Received: (qmail 79757 invoked by uid 500); 21 Sep 2012 14:49:56 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 79637 invoked by uid 500); 21 Sep 2012 14:49:56 -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 79629 invoked by uid 99); 21 Sep 2012 14:49:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 14:49:56 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gaurav.cs.sharma@gmail.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pb0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 14:49:48 +0000 Received: by pbbrq2 with SMTP id rq2so7393704pbb.2 for ; Fri, 21 Sep 2012 07:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; bh=0rmbH6+QXdwyVqBQjWylpF+fa6O6rwPoOC4S0qwJHHA=; b=oCr29T+TvGtDOHt/xyIY8I/5U3gF7GAnDS8I8Dd/Ms0SKP7PpQhetSRgJDmENBGtlO pyyWLQl2qAkfm9a8GRYcgf6ucTS2X7p/gyyT2lCBzmBCxqezE99g9qR4gaxg8KzlhPBP BX0Txkgexr93MXzGufRMNGpYAUX1AF2ofZBENfQeePUjhpeux/mLGxqqyZyniaiyFL80 EnTHA39yq38EMiaBMIX86LbgKOnKFRbTmjW5MA0oyuCS2ZtBeiSjXFY83tVmOT0FOFOc qf+0Z74tLm3SsX9b9ES/6NkR9SqJsLxvDWqKH9eTJSg1HXQ3DMY6OaxBNYJUL5Koranj BK3A== Received: by 10.68.200.72 with SMTP id jq8mr7917901pbc.38.1348238967270; Fri, 21 Sep 2012 07:49:27 -0700 (PDT) Received: from [192.168.2.3] (c-50-131-91-5.hsd1.ca.comcast.net. [50.131.91.5]) by mx.google.com with ESMTPS id rm6sm5230734pbc.54.2012.09.21.07.49.26 (version=SSLv3 cipher=OTHER); Fri, 21 Sep 2012 07:49:26 -0700 (PDT) Subject: Re: Routing in ActiveMQ in distributed environment References: <1348142430920-4656754.post@n4.nabble.com> <43E96943-05A4-4D51-8A60-C770469BF1E9@gmail.com> <1348211534913-4656790.post@n4.nabble.com> From: Gaurav Sharma Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10A403) In-Reply-To: <1348211534913-4656790.post@n4.nabble.com> Message-Id: <377F2ADF-CA1C-454A-B396-3F6E0D303BF9@gmail.com> Date: Fri, 21 Sep 2012 07:49:26 -0700 To: "users@activemq.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) So, are A, B, C brokers on three separate JVM's and looks like (from your de= scription) that their producers are local on the same machine? By "instances= ", you do mean brokers, right? With this 3 broker config, what use case are you trying to solve by routing m= essage from A to B or C? Like you said, if P is local to A, it is wasteful f= or it to publish to B or C. Also, are your brokers geographically separated a= nd remote from each other? On Sep 21, 2012, at 0:12, madhavb wrote: > Gaurav, >=20 > What I mean here is I have 3 instances of activeMQs at location A, B and C= > respectively, I have a producer bean 'P' in location A which locally place= s > the messages in AMQ instance @A, locally because I relieve(lessen) the > headache of connection maintenance and probability of message loss in 'P' i= f > I were to connect to AMQ instances B or C remotely. >=20 > regards, > Madhav >=20 >=20 >=20 > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Routin= g-in-ActiveMQ-in-distributed-environment-tp4656754p4656790.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.