You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2018/03/20 23:10:00 UTC

[jira] [Updated] (QPID-5824) Add reset method to qpid::messaging::Session

     [ https://issues.apache.org/jira/browse/QPID-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross updated QPID-5824:
------------------------------
    Fix Version/s:     (was: Future)

> 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
>            Assignee: Gordon Sim
>            Priority: Minor
>              Labels: patch
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org