Hi Woody,
I've had a similar issue before in the quiet hours of the feed, I found that
increasing the tolerance for heartbeat receive timeout to about 10000ms was
enough to reliably resolve it. I haven't experimented much, 4000 was too low,
10 seconds may be excessive.
I haven't looked at the underlying cause on the ActiveMQ end, but it's either
not aggressive enough in sending heartbeats, or it's negotiating heartbeating
intervals it can't keep to. In either case, increasing your client's tolerance
should help.
My answer here is based on a number of assumptions about the capabilities of
the library you're using. If it doesn't support heartbeating, this is not going
to help you, and this says nothing about why your code isn't attempting
(or succeeding?) in reconnecting
Evelyn