On 17/08/2020 9:03 am, Toralf Lund wrote:
In the C++ messaging API, what happens to a Session object when the
"parent" connection is closed? Will for instance hasError() be true?
On the AMQP 0-10 path, hasError() will only return true if the session
has tried to do something after the connection was closed. However the
checkError() method will actively verify that the connection is ok.
Will getConnection() return something special? Raise an exception?
Crash? Do something else entirely?
It will return a handle to a connection that is not open.
I'm sure I've found out at one point, but I keep forgetting.
It would be VERY helpful if the API docs would say something about stuff
like this...
- Toralf
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]