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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to