Antoine Hebert wrote:
Hi, I'm pretty new to Java and to JMS as well, I want to perform Qpid
clustering and failover tests. I searched the documentation and I'm not
sure I do things properly. I use the C++ broker with Java clients.
First I have two boxes with Qpid:
- boxA inet addr: 192.168.1.204 mask: 255.255.255.0
- boxB inet addr: 192.168.1.96 mask: 255.255.255.0
So I set /etc/ais/openais.conf totem.interface.bindnetaddr = 192.168.1.0
I have two other boxes to use for a publisher/subscriber test. I use the
following setting:
connectionfactory.qpidConnectionfactory=amqp://guest:gu...@clientid/test
?brokerlist='tcp://192.168.1.204:5672;tcp://192.168.1.96:5672'
Try adding &failover='roundrobin?cyclecount='20'' to your URL:
connectionfactory.qpidConnectionfactory=amqp://guest:gu...@clientid/test?brokerlist='tcp://192.168.1.204:5672;tcp://192.168.1.96:5672'&failover='roundrobin?cyclecount='20''
--Rafael
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscr...@qpid.apache.org