activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej K <Andrzej.Krzemien...@sabre.com>
Subject Do I need to reconnect upon exception from receive()
Date Tue, 13 Sep 2016 14:21:25 GMT
Hi Everyone,
I have a problem with CMS Client, and I am not able to figure out from the
documentation what state the connection and session objects are left in
after I got an exception from MessageConsumer::receive().
I have an open connection and a session. I call MessageConsumer::receive()
on my consumer, and an exception is thrown. When I catch it, does it mean
that my connection and session are still in tact? Or am I expected to reset
Them? Or does it depend on the exception? the documentation seems to be
missing this important aspect.

Regards,
&rzej;




--
View this message in context: http://activemq.2283324.n4.nabble.com/Do-I-need-to-reconnect-upon-exception-from-receive-tp4716471.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message