qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Valid Session
Date Tue, 28 Jul 2009 14:09:03 GMT
Bill Whiting wrote:
> In the C++ api, is there a method for determining if a session is open 
> and valid?  or is the session assumed to be valid if   
> connection.isOpen() is "true"?

There is now an isValid() method on the session (it didn't make it into 
0.5 however), but it only tests that the handle is valid, it doesn't 
imply that the session is still open. To test the session is actually 
working still you could do a sync() call after calling isValid().

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


Mime
View raw message