Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 35698 invoked from network); 15 Mar 2007 09:46:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2007 09:46:50 -0000 Received: (qmail 15270 invoked by uid 500); 15 Mar 2007 09:46:58 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 15248 invoked by uid 500); 15 Mar 2007 09:46:58 -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 15239 invoked by uid 99); 15 Mar 2007 09:46:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 02:46:58 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 02:46:46 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HRmXR-0004jA-Hb for users@activemq.apache.org; Thu, 15 Mar 2007 02:46:25 -0700 Message-ID: <9491191.post@talk.nabble.com> Date: Thu, 15 Mar 2007 02:46:25 -0700 (PDT) From: facboy To: users@activemq.apache.org Subject: Re: [Spam: 5.0] daft question(s) about network of brokers In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dnd1066@gmail.com References: <9488895.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org how do i embed the broker without specifying a broker name? the embedded broker always has a brokername = hostname, doesn't it? if i use 'vm://' then it doesn't seem to embed the broker properly, my MDBs don't read the destinations any more. am i even configuring this correctly? i want a 'network' of jboss instances so that I can send a message to a topic with a multicast (or rendezvous) broker url, and an mdb on each jboss instance listening to the topic will see the message. does that make sense? it seemed to work correctly earlier today, but now it goes into some infinite loop of bouncing messages back and forth between the brokers. James.Strachan wrote: > > On 3/15/07, facboy wrote: >> >> I'm trying to setup a network of brokers here...currently running 2 >> instances >> of jboss with ActiveMQ embedded. both have virtually the same >> configuration >> (including the same brokerName). > > > Broker's names are intended to be unique. Its better to not specify > one if you're not gonna give them unique names (then it'll > auto-generate one). > >> if i configure the brokers for multicast >> discovery and send a message to a topic on one of the brokers, the other >> doesn't see it. if i configure the brokers for rendezvous discovery, >> then >> both can see the message on the topic. >> >> so, >> (1) is this because the multicast discovery agent is 'filtering out' >> broadcasts that have the same broker name as itself, because it thinks >> they >> are from itself? > > I think so yes > >> (2) is there a way around this, apart from manually changing all the >> broker >> names to be different? > > Don't specify a broker name > >> (3) is there a downside to using rendezvous instead of multicast (or vice >> versa) > > The only real downside is another jar dependency and not being able to > change the multicast address (so there's a chance of clashing with > other rendezvous stuff) > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/daft-question%28s%29-about-network-of-brokers-tf3406477s2354.html#a9491191 Sent from the ActiveMQ - User mailing list archive at Nabble.com.