[jboss-dev-forums] [JBoss Messaging Development] - Re: Bridge From Jboss ESB 4.4 to ActiveMQ 5.3

mnop629 do-not-reply at jboss.com
Tue Dec 8 01:59:39 EST 2009


That exactly what I 'm talking about. The Jboss doesn't recognize the Physical queue Name which I defined in the Bridge-service.xml.

<attribute name="TargetDestinationLookup">VirtualQueue.ConfirmedOrders</attribute>

the JBoss only recognize the "outbound" property which defined in Bridge-service.xml.

<attribute name="TargetDestinationLookup">outbound</attribute>

reference to:

<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://10.10.10.10:61616
  | 			queue.inbound=queue/qError
  | 			queue.outbound=VirtualQueue.ConfirmedOrders
  |     </attribute>     
  |   </mbean>

I couldn't mange to create another bridge-service by using a same ActiveMQJMSProvider. The only solution so far I have found which is create another extra ActiveMQJMSProvider specifically for the other queue.outbound=queue/testQueue2.

I guess that's not the proper way to create bridge-service, right? but I couldn't think of any solution. 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269496#4269496

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269496



More information about the jboss-dev-forums mailing list