Hi,
I am trying to use the get method in SubscriptionManager class. My
requirement is to wait on q queue for a particular period of time for a
message, if the message is not received do some operation.
For this i'm using
SubscriptionManager subscriptions(session);
subscriptions.get(response, request_queue,
9*pow((int64_t)10,9));
when the connection to qpid is lost during the wait period client
application will be terminated by throwing
2012-05-09 11:25:50 warning Connection [127.0.0.1:127.0.0.1:5672] closed
terminate called after throwing an instance of 'qpid::TransportFailure'
what(): Connection [127.0.0.1:-127.0.0.1:5672] closed
.
Is there any way we can handle this with out the application getting
terminated??
Please provide your valuable inputs on how to resolve the issue.
thanks in advance
sunny
--
View this message in context:
http://qpid.2158936.n2.nabble.com/Qpid-Transport-failure-exception-tp7542497.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]