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.


Reply via email to