-
1. Re: best way to run example on two different physical machin
rnicholson10 Dec 7, 2009 3:25 PM (in response to ianyu)You could try using a core bridge.
Have a look at the connectors and acceptors section the the manual followed by the bridges section.
You basically need a connector on machine A that points to machine B and an acceptor on machine B that can receive from machine B. Then a bridge on machine A that connects to the queue on machine B. Make sure you have true in your hornetq-configuration.xml otherwise the bridge will be disabled by default (this caught me out the first time I tried to do this!).
Post back if you need any more help.
R. -
2. Re: best way to run example on two different physical machin
rnicholson10 Dec 7, 2009 3:28 PM (in response to ianyu)Apologies. that middle paragraph should have read:
You basically need a connector on machine A that points to machine B and an acceptor on machine B that can receive from machine A. Then a bridge on machine A that connects to the queue on machine B. Make sure you have<clustered>true</clustered>
in your hornetq-configuration.xml otherwise the bridge will be disabled by default (this caught me out the first time I tried to do this!). -
3. Re: best way to run example on two different physical machin
ianyu Dec 8, 2009 2:41 PM (in response to ianyu)Thank you for your suggestion on using a core bridge, to accomplish this.
Once implemented as you have recommended here, does it mean that there will be a server instance running on machine A, and then another server instance running on machine B?
We appreciated your taking the time to help us with this.