I am trying  to set up a couple of bridges on one server (s1) whereas messages 
arriving on a queue are posted to a queue on a remote server (s2),  That server 
processes the message and puts a response on its local response queues.  I want 
another bridge to take that response and move it to my original server response 
queue. 

On s1 I configured the bridges so that the first bridge had s1 as the source 
provoder and the second bridge had s2 as the source provider.  It seems that 
only bridge one is able to make the connection.  For bridge two I get a no a 
such destination exception even though the destination is valid on s2.


Am I not allowed to configure a bridge such that the source is the remote 
server?

<?xml version="1.0" encoding="UTF-8"?>
  | <server>
  | 
  |     <!-- Bridge 1.  Send messages to remote input queue -->
  |    <mbean code="org.jboss.jms.server.bridge.BridgeService"
  |           name="jboss.messaging:service=Bridge,name=Conversion.In.Bridge"  
  |           xmbean-dd="xmdesc/Bridge-xmbean.xml">
  |           
  |         <depends>jboss:service=Naming</depends>
  |             
<depends>jboss.messaging.destination:service=Queue,name=File.Conversion.In</depends>
  |         <depends>jboss.messaging:service=ServerPeer</depends>
  |         <depends 
optional-attribute-name="SourceProviderLoader">jboss.mq:service=JMSProviderLoader,name=JMSProvider</depends>
     
  |         <depends 
optional-attribute-name="TargetProviderLoader">jboss.mq:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
    
  |     
  |         <attribute 
name="SourceDestinationLookup">/queue/File.Conversion.In</attribute> 
  |         <attribute 
name="TargetDestinationLookup">/queue/Remote.Conversion.In</attribute>
  |         
  |             <attribute name="MaxBatchSize">5</attribute>     
  |         <attribute name="MaxBatchTime">-1</attribute>
  |         <attribute name="FailureRetryInterval">5000</attribute>      
  |         <attribute name="MaxRetries">-1</attribute>
  |     
  |     </mbean>
  |   
  |     <!-- Bridge 2.  Get messages from remote output queue -->
  |    <mbean code="org.jboss.jms.server.bridge.BridgeService"
  |           name="jboss.messaging:service=Bridge,name=Conversion.Out.Bridge"  
  |           xmbean-dd="xmdesc/Bridge-xmbean.xml">
  |           
  |         <depends>jboss:service=Naming</depends>
  |             
<depends>jboss.messaging.destination:service=Queue,name=File.Conversion.Out</depends>
  |         <depends>jboss.messaging:service=ServerPeer</depends>
  |         <depends 
optional-attribute-name="SourceProviderLoader">jboss.mq:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
     
  |         <depends 
optional-attribute-name="TargetProviderLoader">jboss.mq:service=JMSProviderLoader,name=JMSProvider</depends>
    
  |     
  |         <attribute 
name="SourceDestinationLookup">/queue/Remote.Conversion.Out</attribute> 
  |         <attribute 
name="TargetDestinationLookup">/queue/File.Conversion.Out</attribute>
  |         
  |             <attribute name="MaxBatchSize">5</attribute>     
  |         <attribute name="MaxBatchTime">-1</attribute>
  |         <attribute name="FailureRetryInterval">5000</attribute>      
  |         <attribute name="MaxRetries">-1</attribute>
  |     
  |     </mbean>
  |     
  |  </server>

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067120
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to