Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 54698 invoked from network); 15 Mar 2007 10:54:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2007 10:54:53 -0000 Received: (qmail 26765 invoked by uid 500); 15 Mar 2007 10:55:00 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 26746 invoked by uid 500); 15 Mar 2007 10:55:00 -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 26733 invoked by uid 99); 15 Mar 2007 10:55:00 -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 03:55:00 -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 03:54:48 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HRnbH-00074I-Qd for users@activemq.apache.org; Thu, 15 Mar 2007 03:54:27 -0700 Message-ID: <9492074.post@talk.nabble.com> Date: Thu, 15 Mar 2007 03:54:27 -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> <9491191.post@talk.nabble.com> <9491262.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org yeah i've set something up so that it generates the broker name off the jboss instance. how does a durable topic subscription work with a network of brokers? at the moment if i have a durable topic subscriber on either broker, the other one's 'Demand Forwarding Bridge' bombs out with the 'Durable Consumer' connection exception. is it possible to have this kind of configuration? or will it just not work? thanks. rajdavies wrote: > > If the brokerName isn't set - it defaults to localhost - I would > strongly suggest you explicitly set the brokerName if you are using > more than one broker. > > cheers. > > > Rob Davies > http://rajdavies.blogspot.com/ > > > > On 15 Mar 2007, at 09:52, facboy wrote: > >> >> hmm...i also started getting errors of this nature: >> >> 20:49:48,437 INFO [DemandForwardingBridge] Network connection between >> vm://jboss-2#8 and tcp://localhost/127.0.0.1:62626 shutdown due to >> a local >> error: >> javax.jms.JMSException: Durable consumer is in use for client: >> NC_jboss-1_inboundjboss-2 and subscriptionName: >> jboss-2_topic.testTopic >> >> which i wasn't getting before. >> >> >> facboy wrote: >>> >>> 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#a9491262 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/daft-question%28s%29-about-network-of-brokers-tf3406477s2354.html#a9492074 Sent from the ActiveMQ - User mailing list archive at Nabble.com.