What happens if you add keepAlive=true to the URI to enable TCP keep-alive?

Your other URI options try to disable and enable protocol-based keep-alive
respectively, and I'm not sure who wins that fight.  So the other thing you
could do is set a non-zero maxInactivityDuration, which should work as long
as it's shorter than the TCP timeout (so 30 seconds would be a good value,
which is why it's the default).
On May 20, 2016 3:03 PM, "kgoerlitz" <kevin_goerl...@bmc.com> wrote:

> Any recommendations on this?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Broker-network-disconnecting-every-minute-tp4712018p4712232.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to