From machine 1 to machine2:
| <mbean code="org.jboss.jms.server.bridge.BridgeService"
name="jboss.messaging:service=Bridge,name=InputToEngineBridge"
xmbean-dd="xmdesc/Bridge-xmbean.xml">
|
| <depends
optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
| <depends
optional-attribute-name="TargetProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
|
| <attribute
name="SourceDestinationLookup">/queue/speQueueToEngine</attribute>
| <!-- <attribute
name="SourceUsername">guest</attribute>
| <attribute name="SourcePassword">guest</attribute>
-->
| <attribute
name="TargetDestinationLookup">/queue/speQueueFromInput</attribute>
| <!-- <attribute
name="TargetUsername">guest</attribute>
| <attribute name="TargetPassword">guest</attribute>
-->
|
| <!-- Optional: The Quality Of Service mode to use, one of:
| QOS_AT_MOST_ONCE = 0;
| QOS_DUPLICATES_OK = 1;
| QOS_ONCE_AND_ONLY_ONCE = 2;-->
| <attribute name="QualityOfServiceMode">2</attribute>
|
| <attribute name="MaxBatchSize">1</attribute>
| <attribute name="MaxBatchTime">-1</attribute>
| <attribute name="FailureRetryInterval">5000</attribute>
| <attribute name="MaxRetries">-1</attribute>
| <attribute
name="AddMessageIDInHeader">false</attribute>
| </mbean>
|
|
From machine2 to machine1:
| <mbean code="org.jboss.jms.server.bridge.BridgeService"
name="jboss.messaging:service=Bridge,name=EngineToHandlerBridge"
xmbean-dd="xmdesc/Bridge-xmbean.xml">
|
| <depends
optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
| <depends
optional-attribute-name="TargetProviderLoader">jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
|
| <attribute
name="SourceDestinationLookup">/queue/speQueueToHandler</attribute>
| <!-- <attribute
name="SourceUsername">guest</attribute>
| <attribute name="SourcePassword">guest</attribute>
-->
| <attribute
name="TargetDestinationLookup">/queue/speQueueFromEngine</attribute>
| <!-- <attribute
name="TargetUsername">guest</attribute>
| <attribute name="TargetPassword">guest</attribute>
-->
|
| <!-- Optional: The Quality Of Service mode to use, one of:
| QOS_AT_MOST_ONCE = 0;
| QOS_DUPLICATES_OK = 1;
| QOS_ONCE_AND_ONLY_ONCE = 2;-->
| <attribute name="QualityOfServiceMode">2</attribute>
|
| <attribute name="MaxBatchSize">1</attribute>
| <attribute name="MaxBatchTime">-1</attribute>
| <attribute name="FailureRetryInterval">5000</attribute>
| <attribute name="MaxRetries">-1</attribute>
| <attribute
name="AddMessageIDInHeader">false</attribute>
| </mbean>
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227825#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...