You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Clive Lilley (JIRA)" <ji...@apache.org> on 2014/06/16 10:47:01 UTC
[jira] [Created] (QPID-5824) Add reset method to
qpid::messaging::Session
Clive Lilley created QPID-5824:
----------------------------------
Summary: Add reset method to qpid::messaging::Session
Key: QPID-5824
URL: https://issues.apache.org/jira/browse/QPID-5824
Project: Qpid
Issue Type: Improvement
Components: C++ Client
Affects Versions: 0.26
Reporter: Clive Lilley
Priority: Minor
Fix For: Future
The qpid::messaging API can reconnect to a broker (automatically or manually) and reset any already created sessions using the reconnect functionality. But an edge case exists where the qpid::messaging::Connection has a valid and open connection to the broker, but one or more associated sessions have an error, due to receiving an exception. The only way to fix this situation is to close the Session that is in error and create a new one. This is not always desirable, as the corresponding set of Senders and Receivers would also need closing and recreating. What is really needed is a reset method on the qpid::messaging::Session Class. This would use some of the functionality already provided in the reconnect implementation.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org