[jboss-user] [JBoss Messaging Users] - Configuration of the bridge btween JBoss messaging and Activ
yungsiu
do-not-reply at jboss.com
Mon Nov 9 21:12:44 EST 2009
I am trying to implement like this:
> There are 2 servers: application server & jms server.
> App server has JBM queues and bridges, JMS server has activeMQ runing.
> Messages will be sent to the JBM queues from application and then forward to JMS server by bridges.
There is no problem on doing this with JBM to JBM, but failed with JBM to ActiveMQ.
It should be the configuration issue and there is little reference I can find from the web.
I have set jms-ds.xml and bridge-ds.xml as follows:
jms-ds.xm:
...
ActiveMQJMSProvider
org.jboss.jms.jndi.JNDIProviderAdapter
ActiveMQConnectionFactory
ActiveMQConnectionFactory
ActiveMQConnectionFactory
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
java.naming.provider.url=tcp://172.19.4.110:61616
...
bridge-ds.xml:
...
<mbean code="org.jboss.jms.server.bridge.BridgeService" name="jboss.messaging:service=Bridge,name=bArrival_err_incoming" xmbean-dd="xmdesc/Bridge-xmbean.xml">
jboss.mq.destination:service=Queue,name=qArrival_err_incoming
<depends optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider
<depends optional-attribute-name="TargetProviderLoader">jboss.jms:service=JMSProviderLoader,name=ActiveMQJMSProvider
/queue/qArrival_err_incoming
/qCustoms_initial_err_incoming
2
1
20000
5000
-1
false
...
Could anyone tell me what's wrong with the config files? or what should be the correct configurations. Thanks~
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264714#4264714
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264714
More information about the jboss-user
mailing list