Hi, 
I have two quite technical questions concerning connection option "reconnect" 
that defines if the client shall transparently reconnect when the connection is 
lost (quoting "Programming in Apache Qpid" manual). 

First question: What the "if the connection is lost" _should_ technically mean? 
TCP connection is lost, i.e. operating system announces to userspace that the 
socket / TCP connection is closed? Or some / all AMQP session(s) is/are lost? 
Or something else? 

Second question: If reconnect:true is set, should the client bind to the broker 
with the same client_pid? Or a new one? 

(some background to the questions: it seems there is a scenario that ends up 
the client thinks it has to reconnect to the broker while the broker keeps the 
previous connection open - the reconnection attempt is then rejected as it 
contains client_pid of an established session) 

Thanks in advance for your thoughts. 

Kind regards, 
Pavel 


Reply via email to