1 Reply Latest reply on Mar 15, 2018 10:28 AM by Miroslav Novak

    Core bridge between 2 wildfly 8.2 servers

    valsaraj viswanathan Master

      How to set up Core bridge between 2 wildfly 8.2 servers?

      The servers are on different machines and on different domains.

        • 1. Re: Core bridge between 2 wildfly 8.2 servers
          Miroslav Novak Master

          To messaging subsystem to configuration of default HQ server add something like:

           

          <bridge name="my-bridge">
             <queue-name>jms.queue.sausage-factory</queue-name>
             <forwarding-address>jms.queue.mincing-machine</forwarding-address>
             <filter string="name='aardvark'"/>
             <transformer-class-name>
            org.hornetq.jms.example.HatColourChangeTransformer
             </transformer-class-name>
             <retry-interval>1000</retry-interval>
             <retry-interval-multiplier>1.0</retry-interval-multiplier>
             <reconnect-attempts>-1</reconnect-attempts>
             <failover-on-server-shutdown>false</failover-on-server-shutdown>
             <use-duplicate-detection>true</use-duplicate-detection>
             <confirmation-window-size>10000000</confirmation-window-size>
             <connector-ref connector-name="remote-connector" 
             backup-connector-name="backup-remote-connector"/>   
             <user>foouser</user>
             <password>foopassword</password>
          </bridge>
          
          
          

          You will need to define <remote-connector name="remote-connector" ... with outbound socket binding pointing to target HQ server (by default port 5445).

           

          More info can be found in EAP 6 doc: Chapter 34. Core Bridges - Red Hat Customer Portal