git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stale connection hanging at broker during consumer crash


The simplest way to do this is to set the soTimeout parameter on the TCP
transport (http://activemq.apache.org/tcp-transport-reference.html).
Because this is a protocol parameter, it can be set from either end of the
connection (or both), but if it were me I'd just set it on the broker's
transportConnector since that lets you set it once and have it always apply.

Tim

On Mon, Sep 24, 2018, 1:04 AM Hemanathan <hemanathanvignesh@xxxxxxxxx>
wrote:

> Thanks for the answer Tim.
> Please suggest what are all the ways to configure timeout to close the
> stale
> connections.
> Need to configure on broker side or consumer side?
>
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>