Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Recreating sessions after an error in qpid.messaging client

$
0
0
Hi,

In the qpid.messaging C++ API, many exceptions don't close the connection
but only the session - for example when one tries to create a receiver on a
queue which doesn't exist.

As far as I understood it, in such situation I have to always recreate the
session and all its senders / receivers manually one by one in my
application, is that correct? Or is there some way how to let the library
recreate all of them for me - e.g. something like the reconnect() method on
the connection level?

Thanks Regards
Jakub

Viewing all articles
Browse latest Browse all 5648

Trending Articles