Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 14955 invoked from network); 17 Apr 2008 12:13:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 12:13:45 -0000 Received: (qmail 93426 invoked by uid 500); 17 Apr 2008 12:13:45 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 93404 invoked by uid 500); 17 Apr 2008 12:13:45 -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 93395 invoked by uid 99); 17 Apr 2008 12:13:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 05:13:45 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 12:12:52 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JmSzI-00078E-Gb for users@activemq.apache.org; Thu, 17 Apr 2008 05:13:12 -0700 Message-ID: <16743553.post@talk.nabble.com> Date: Thu, 17 Apr 2008 05:13:12 -0700 (PDT) From: jimmyfrank To: users@activemq.apache.org Subject: Re: How do I get messages to forward without a consumer? In-Reply-To: <16740177.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: derek.beattie@gmail.com References: <16722281.post@talk.nabble.com> <0DE03F63-1CB3-4326-994C-A3467F836AF0@gmail.com> <16735584.post@talk.nabble.com> <16740177.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I don't set up the networkConnectors for Broker B because as I understand it since A connects to B and has duplex=true, I don't need to. So I won't have a place to specify staticallyIncludedDestinations for broker B. Unless I can do that some other way. rajdavies wrote: > > In which case - I'm guessing you have never registered a consumer on > Broker A? > So you need to set staticallyIncludedDestinations for your network > connector configuration - so that messages get forwarded if a consumer has > never registered on brokerA > see http://activemq.apache.org/networks-of-brokers.html Networks > > > jimmyfrank wrote: >> >> Sorry, I mistyped. I actually have dynamicOnly=false and without a >> consumer running the messages still sit on broker B. >> >> rajdavies wrote: >>> >>> >>> On 16 Apr 2008, at 14:53, jimmyfrank wrote: >>> >>>> >>>> I'm using 5.2 4/15 snapshot. >>>> >>>> I have broker A connecting to broker B. Broker A is behind a >>>> firewall so I >>>> have A connect to B using duplex="true". I also have >>>> dynamicOnly="true". >>>> Everything seems to work great, a producer can put messages to >>>> test.q on >>>> broker B and a consumer can pick them up on broker A. >>>> >>>> My questions is, when a producer that connects to broker B puts >>>> messages to >>>> test.q, the messages will sit in the test.q on broker B, how can I >>>> get them >>>> to be forwarded to the test.q on broker A if the consumer on A isn't >>>> running? >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/How-do-I-get-messages-to-forward-without-a-consumer--tp16722281s2354p16722281.html >>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >>>> >>> >>> The easiest thing to do is to set dynamicOnly=false >>> >>> >>> cheers, >>> >>> Rob >>> >>> http://open.iona.com/ -Enterprise Open Integration >>> http://rajdavies.blogspot.com/ >>> >>> >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/How-do-I-get-messages-to-forward-without-a-consumer--tp16722281s2354p16743553.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.