[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Remote replyto functionality - Bridge configuration in p
thomasra
do-not-reply at jboss.com
Wed Jun 13 03:44:04 EDT 2007
This is from JBM to ActiveMQ. The "outbound" queue is mapped in the Properties section of my ProviderLoader (attached below the bridge xml).
| <?xml version="1.0" encoding="UTF-8"?>
|
| <!--
| Example Message Bridge configurations
|
| $Id: destinations-service.xml 1930 2007-01-09 18:16:04Z timfox $
| -->
|
| <server>
|
| <mbean code="org.jboss.jms.server.bridge.BridgeService"
| name="com.nordpool:service=Bridge,name=BridgeToOM"
| xmbean-dd="xmdesc/Bridge-xmbean.xml">
|
| <attribute name="SourceProviderLoader">jboss.mq:service=JMSProviderLoader,name=JMSProvider</attribute>
|
| <attribute name="TargetProviderLoader">jboss.mq:service=JMSProviderLoader,name=ActiveMQJMSProvider</attribute>
|
| <attribute name="SourceDestinationLookup">topic/out</attribute>
|
| <attribute name="TargetDestinationLookup">outbound</attribute>
|
| <attribute name="SourceUsername">test</attribute>
|
| <attribute name="SourcePassword">test</attribute>
|
| <attribute name="TargetUsername">test</attribute>
|
| <attribute name="TargetPassword">test</attribute>
|
| <attribute name="QualityOfServiceMode">0</attribute>
|
| <attribute name="Selector">SERVICE='om'</attribute>
|
| <attribute name="MaxBatchSize">1</attribute>
|
| <attribute name="MaxBatchTime">1</attribute>
|
| <attribute name="SubName">bridge</attribute>
|
| <attribute name="ClientID">bridge-id</attribute>
|
| <attribute name="FailureRetryInterval">1000</attribute>
|
| <attribute name="MaxRetries">2</attribute>
|
| </mbean>
|
|
| </server>
|
The provider ds.xml:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <connection-factories>
|
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
| name="jboss.mq: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://externalhost:61616
| queue.inbound=OM.from
| queue.outbound=OM.to
| </attribute>
|
| </mbean>
|
| </connection-factories>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053822#4053822
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053822
More information about the jboss-dev-forums
mailing list