For the Bridging from JBM to ACtiveMQ, I saw there is a bounded property "outbound" in ds.xml. Is there any other way to bound the physical queue destination name like below:
attribute name="TargetDestinationLookup">queue/qTempBridge</attribute
It wouldn't able to resolve in JBM, it said naming not found XXXX.
by the way, what if there are multiple bridge to activeMQ, but I can only define 1 outbound queue name in ActiveMQJMSProvider? How can I create multiple bridge using a distinct ActiveMQJMSProvider?
<mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.messaging:service=JMSProviderLoader,name=ActiveMQJMSProvider"> <attribute name="ProviderName">ActiveMQJMSProvider</attribute> <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute> <!-- The combined connection factory --> <attribute name="FactoryRef">ConnectionFactory</attribute> <!-- The queue connection factory --> <attribute name="QueueFactoryRef">ConnectionFactory</attribute> <!-- The topic factory --> <attribute name="TopicFactoryRef">ConnectionFactory</attribute> <attribute name="Properties"> java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory java.naming.provider.url=tcp://x.x.x.x:61616 queue.inbound=queue/qError queue.outbound=VirtualQueue.ConfirmedOrders </attribute> </mbean>