qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunny <sndee...@gmail.com>
Subject Qpid Transport failure exception
Date Wed, 09 May 2012 10:42:48 GMT
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, 

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 [] closed
terminate called after throwing an instance of 'qpid::TransportFailure'
  what():  Connection [] closed
Is there any way we can handle this with out the application getting
Please provide your valuable inputs on how to resolve the issue.

thanks in advance

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: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org

View raw message