title: Running JMS Bridge with HornetQ
body: <p>I have two standalone HornetQ servers on same the machine! I followed jms-bridge example in HornetQ examples for configuring <em>source server</em> and <em>target server</em> (I copied configurations from example to my servers). When i want running target server (that contains jms bridge) It can not find TransactionManager property of JMSBridge bean, because <em>com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple</em> is not in server classpath. What should i choose instead of this implementation of TransactionManager? Or what jar files required for <em>com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple</em>?</p>
  
  <pre><code>   &lt;!-- The JMS Bridge --&gt;
     &lt;bean name="JMSBridge" class="org.hornetq.jms.bridge.impl.JMSBridgeImpl"&gt;
             &lt;constructor&gt;
                 &lt;!-- Source ConnectionFactory Factory --&gt;
                 &lt;parameter&gt;
                     &lt;inject bean="SourceCFF"/&gt;
                 &lt;/parameter&gt;
                 &lt;!-- Target ConnectionFactory Factory --&gt;
                 &lt;parameter&gt;
                     &lt;inject bean="TargetCFF"/&gt;
                 &lt;/parameter&gt;
                 &lt;!-- Source DestinationFactory --&gt;
                 &lt;parameter&gt;
                     &lt;inject bean="SourceDestinationFactory"/&gt;
                 &lt;/parameter&gt;
                 &lt;!-- Target DestinationFactory --&gt;
                 &lt;parameter&gt;
                     &lt;inject bean="TargetDestinationFactory"/&gt;
                 &lt;/parameter&gt;
                 &lt;!-- Source username (no username here) --&gt;
                 &lt;parameter&gt;&lt;null /&gt;&lt;/parameter&gt;
                 &lt;!-- Source password (no password here)--&gt;
                 &lt;parameter&gt;&lt;null /&gt;&lt;/parameter&gt;
                 &lt;!-- Target username (no username here)--&gt;
                 &lt;parameter&gt;&lt;null /&gt;&lt;/parameter&gt;
                 &lt;!-- Target password (no password here)--&gt;
                 &lt;parameter&gt;&lt;null /&gt;&lt;/parameter&gt;
                 &lt;!-- Selector --&gt;
                 &lt;parameter&gt;&lt;null /&gt;&lt;/parameter&gt;
                 &lt;!-- Interval to retry in case of failure (in ms) --&gt;
                 &lt;parameter&gt;5000&lt;/parameter&gt;
                 &lt;!-- Maximum number of retries to connect to the source and target --&gt;
                 &lt;parameter&gt;10&lt;/parameter&gt;
                 &lt;!-- Quality of service --&gt;
                 &lt;parameter&gt;ONCE_AND_ONLY_ONCE&lt;/parameter&gt;
                 &lt;!-- Maximum batch size --&gt;
                 &lt;parameter&gt;1&lt;/parameter&gt;
                 &lt;!-- Maximum batch time (-1 means infinite) --&gt;
                 &lt;parameter&gt;-1&lt;/parameter&gt;
                 &lt;!-- Subscription name (no subscription name here)--&gt;
                 &lt;parameter&gt;&lt;null /&gt;&lt;/parameter&gt;
                 &lt;!-- client ID  (no client ID here)--&gt;
                 &lt;parameter&gt;&lt;null /&gt;&lt;/parameter&gt;
                 &lt;!-- concatenate JMS messageID to the target's message header --&gt;
                 &lt;parameter&gt;true&lt;/parameter&gt;
                 &lt;!-- register the JMS Bridge in the JMX MBeanServer --&gt;
                 &lt;parameter&gt;
                     &lt;inject bean="MBeanServer"/&gt;
                 &lt;/parameter&gt;
                 &lt;parameter&gt;org.hornetq:service=JMSBridge&lt;/parameter&gt;
             &lt;/constructor&gt;
             &lt;property name="transactionManager"&gt;
                 &lt;inject bean="TransactionManager"/&gt;
             &lt;/property&gt;
  
             &lt;!-- HornetQ JMS Server must be started before the bridge --&gt;
             &lt;depends&gt;JMSServerManager&lt;/depends&gt;
  
         &lt;/bean&gt;
        &lt;!-- TransactionManager --&gt;
        &lt;bean name="TransactionManager" class="com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple"&gt;
         &lt;/bean&gt;
  </code></pre>