qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Trieloff <cctriel...@redhat.com>
Subject Re: a question about the FailoverManager
Date Mon, 16 Mar 2009 20:49:24 GMT
Gordon Sim wrote:
> Shan Wang wrote:
>> As I understand it, FailoverManager::execute() will try to reconnect if
>> no open connection is available, by using the last known brokers
>> list(because it uses connect() which has an empty brokers url list?),
>> and if that succeeded, a new session will be created and
>> Command::execute() will be called. And if the reconnect failed, it will
>> through an exception. 
> That is correct; when the current connection fails it will try to 
> reconnect using the list of known urls retrieved when connected. It 
> will try each of these in turn then fail if it can't connect to any of 
> them. 

Another thing is to make sure you have configured a heartbeat, so the 
fail-over happens on
heartbeat interval and not on socket timeout.


Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org

View raw message