Hi Sam,

Currently the connection returns no information callback about its 
connected/disconnected status besides error log messages and a final exception 
when the connection attempts fail. The connection.IsOpen member indicates True 
or False if the connection is actually connected.

A similar issue is approached from a different angle in 
https://issues.apache.org/jira/browse/QPID-2978 "Disconnected operation is a 
pain", where the initial connection attempts hang the thread creating the 
connection. You may add a suggestion to that Jira or create a new one 
suggesting your improvement to the Messaging API.

----- Original Message -----
> From: "qpid user 2" <qpid.use...@gmail.com>
> To: "users" <users@qpid.apache.org>
> Sent: Wednesday, December 22, 2010 12:52:57 PM
> Subject: C# Qpid Connection Lost
> Hi guys,
> 
> I have got a question on handling connection to the broker. I am using
> C#
> and the dotnet bindings libraries. I use "reconnect" option for my
> Connection class. My question is that is there any sort of
> notification
> mechanism that I can handle when connection to broker is lost? some
> sort of
> callback or exception thrown when ever connection is lost.
> 
> Help would be appreciated as usual.
> 
> Thanks,
> Sam

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

Reply via email to