Hi guys,

I have the following issue:
We have a two-node cluster that consists of node1 and node2. Message senders 
are written in c++ and consumers are java clients.
The problem is that the first node (node1) is declared as the first node in 
java qpid connection factory like this

amqp://guest:guest@/?failover='failover_exchange'&brokerlist='tcp://node1?connectdelay='5000'&retries='1000'&connecttimeout='5000'&heartbeat='1';tcp://node2?connectdelay='5000'&retries='1000'connecttimeout='5000'&heartbeat='1''

As the first node is listed first in the brokerlist parameter all java clients 
connect to the first node only. (They are able to reconnect to the second node, 
but only if the first node fails).

The similar issue is actual for our c++ message senders too. They are all 
connect to the first node only.

So the second node in our cluster acts as backup of the first node what we do 
not like. What we would like to achieve is to spread connections between all 
nodes of the cluster somehow.

Is it possible? Are c++ and java qpid clients able to load-balance between 
nodes of the qpid cluster? What is the general solution for the described issue 
for the N-node cluster?


Best Regards,
Sergey Zhemzhitsky


_______________________________________________________

The information contained in this message may be privileged and conf idential 
and protected from disclosure. If you are not the original intended recipient, 
you are hereby notified that any review, retransmission, dissemination, or 
other use of, or taking of any action in reliance upon, this information is 
prohibited. If you have received this communication in error, please notify the 
sender immediately by replying to this message and delete it from your 
computer. Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or 
go to www.troika.ru/eng/Contacts/system.wbp  

Reply via email to