Re: C++ Client. Cluster failover.

2011-04-18 Thread Sergey_Zhemzhitsky
Subject Re: C++ Client. Cluster failover. On 04/18/2011 04:03 PM, sergey_zhemzhit...@troika.ru wrote: > Hi there, > > According to the > http://qpid.apache.org/books/0.8/Programming-In-Apache-Qpid/html/ch02s14.html > we can configure a client failover by means of the follo

Re: C++ Client. Cluster failover.

2011-04-18 Thread Gordon Sim
On 04/18/2011 04:03 PM, sergey_zhemzhit...@troika.ru wrote: Hi there, According to the http://qpid.apache.org/books/0.8/Programming-In-Apache-Qpid/html/ch02s14.html we can configure a client failover by means of the following snippet of code Connection connection("localhost:5672"); connection.s

C++ Client. Cluster failover.

2011-04-18 Thread Sergey_Zhemzhitsky
Hi there, According to the http://qpid.apache.org/books/0.8/Programming-In-Apache-Qpid/html/ch02s14.html we can configure a client failover by means of the following snippet of code Connection connection("localhost:5672"); connection.setOption("reconnect", true); try { connection.open();