I have 2 jboss messaging running as ha cluster.
im trying to create a 3rd messaging server which uses a bridge in order to get 
the queue used by the cluster . following the doc/examples/bridge i copy the 
test-bridge and set a new provider
create a queue to match the cluster queue 

here is my  setting :
<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
  |          
name="jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider">
  |     <attribute name="ProviderName">RemoteJMSProvider</attribute>
  |     <attribute name="ProviderAdapterClass">
  |       org.jboss.jms.jndi.JNDIProviderAdapter
  |     </attribute>
  |     <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
  |     <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
  |     <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
  |     <attribute name="Properties">
  |        java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |        java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |        java.naming.provider.url=192.168.10.10:1100
  |        java.naming.provider.url=192.168.10.11:1100
  |     </attribute>
  |   </mbean>

<?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |    <mbean code="org.jboss.jms.server.bridge.BridgeService"
  |           name="jboss.messaging:service=Bridge,name=TestBridge"
  |           xmbean-dd="xmdesc/Bridge-xmbean.xml">
  |        <depends 
optional-attribute-name="TargetProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
     
  |        <depends 
optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
    
  |        <attribute 
name="SourceDestinationLookup">/queue/etSubscribtionQueue</attribute> 
  |        <attribute 
name="TargetDestinationLookup">/queue/etSubscribtionQueue</attribute>
  |        <attribute name="QualityOfServiceMode">0</attribute>
  |        <attribute name="MaxBatchSize">5</attribute>     
  |        <attribute name="MaxBatchTime">-1</attribute>
  |        <attribute name="FailureRetryInterval">5000</attribute>      
  |        <attribute name="MaxRetries">-1</attribute>
  |        <attribute name="AddMessageIDInHeader">false</attribute>
  |   </mbean>
  |  </server>

when i deploy the new setting i get no errors nor warning, but something is not 
working
i see that packets flow from the bridge to the cluster and back but they stop 
after ( looks like a begining of a connection )
then it waits a while and start again , am i doing something wrong here ? 

Thanks


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

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

Reply via email to