Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 35165 invoked from network); 2 Aug 2006 05:49:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 05:49:52 -0000 Received: (qmail 39903 invoked by uid 500); 2 Aug 2006 05:49:51 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 39881 invoked by uid 500); 2 Aug 2006 05:49:51 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 39868 invoked by uid 99); 2 Aug 2006 05:49:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 22:49:51 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rajdavies@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 22:49:50 -0700 Received: by ug-out-1314.google.com with SMTP id m2so1766227uge for ; Tue, 01 Aug 2006 22:49:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=Qohb0oK8hVNqZM9QuGNZH1dsbfCfY/IWJTlFRf2TynF5quo1j2rvy84IpRYNczvx9vxH6KKzUUrr4aaUPLAvvMqoALpT6LhF3sr4zFwFt7vwR721krvhXZkT2LVPrI5L8TM4crCu0SSX2qSDgLWqLAzGvO9sg0Xg4iQzFCjenyk= Received: by 10.78.203.15 with SMTP id a15mr154113hug; Tue, 01 Aug 2006 22:49:28 -0700 (PDT) Received: from ?192.168.15.103? ( [81.129.215.86]) by mx.gmail.com with ESMTP id 31sm1327345hub.2006.08.01.22.49.28; Tue, 01 Aug 2006 22:49:28 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <5600078.post@talk.nabble.com> References: <5201128.post@talk.nabble.com> <5201389.post@talk.nabble.com> <5598132.post@talk.nabble.com> <19F1D2B1-2F2C-4DCC-BE92-F32C11766CAC@gmail.com> <5598457.post@talk.nabble.com> <5600078.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <311DC5D4-196D-4FA2-801F-1E549F7FAEC5@gmail.com> Content-Transfer-Encoding: 7bit From: Rob Davies Subject: Re: JMS to JMS Bridge Date: Wed, 2 Aug 2006 06:49:26 +0100 To: activemq-users@geronimo.apache.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Greg, that check is done in the bridges themselves - so if you don't set the localQueueName or localTopicName - it's been defaulted to the inboundQueueName/inboundTopicName etc. cheers, Rob On 1 Aug 2006, at 19:13, agrabil wrote: > > Thanks Rob. BTW, I just thought that the implementation I provided > may be > improved to support backward compatability, and so as to not > require the > localQueueName attribute. E.g.: > > ... > String localQueueName = bridge.getLocalQueueName(); > if ((localQueueName == null) || > (localQueueName.length() <= > 0)) { > localQueueName = bridge.getOutboundQueueName(); > } > Queue > activemqQueue=createActiveMQQueue(localSession,localQueueName); > ... > > Of course, maybe you already thought of this! ;-) > > Thanks again, and I'm glad I could help. I really needed this to > work so I > can migrate from SwiftMQ to ActiveMQ! > > Greg > -- > View this message in context: http://www.nabble.com/JMS-to-JMS- > Bridge-tf1901141.html#a5600078 > Sent from the ActiveMQ - User forum at Nabble.com. >