try
{
Receiver rcver = session.createReceiver(addr);
......
}
catch (const qpid::messaging::NoMessageAvailable& ex)
{
// No message, ignore exception and keep working
print("Ignore no message available exception, and keep working.");
}
>From our app log, the connection closed before fetch timeout.
--
View this message in context:
http://qpid.2158936.n2.nabble.com/connection-is-detached-after-receiver-is-created-tp7587655p7587668.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]