activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naresh Bhatia <>
Subject Re: How to ensure reliability of publish/subscribe against occassional network hiccup?
Date Mon, 16 Jul 2007 16:38:55 GMT

I tried a little experiment to understand ActiveMQ's behavior when the
network is disrupted. It appears that there is some sort of connection
monitoring going on between the client and the ActiveMQ broker (either at
the broker level or at the socket level). ActiveMQ keeps retrying the
message until it gets an acknowledgement from the subscriber. However during
these retries, if the connection times out then the client's
ExceptionListener simply receives a JMSException (Connection reset). For
shorter network disruptions, even non-durable messages seem to go through
pretty reliably. Does this conclusion make sense?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message