You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jflygare <em...@hotmail.com> on 2010/09/13 20:06:11 UTC

Remove consumer from broker if socket is closed due to write timeout

I am using ActiveMQ 5.3.1 and running into a scenario where consumers will
sometimes stop reading from the socket, leaving the transport write in a
blocked state (known issue). I have configured the transport.soWriteTimeout
in the transport URI and the socket does close after the timeout period, but
it leaves the connection to the consumer open. Is there a way to confugre
the broker to close the consumer connection after such a timeout?
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Remove-consumer-from-broker-if-socket-is-closed-due-to-write-timeout-tp2537877p2537877.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Remove consumer from broker if socket is closed due to write timeout

Posted by Dejan Bosanac <de...@nighttale.net>.
Can you try using keepAlive option and see if that helps?

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Mon, Sep 13, 2010 at 8:06 PM, jflygare <em...@hotmail.com> wrote:
>
> I am using ActiveMQ 5.3.1 and running into a scenario where consumers will
> sometimes stop reading from the socket, leaving the transport write in a
> blocked state (known issue). I have configured the transport.soWriteTimeout
> in the transport URI and the socket does close after the timeout period, but
> it leaves the connection to the consumer open. Is there a way to confugre
> the broker to close the consumer connection after such a timeout?
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Remove-consumer-from-broker-if-socket-is-closed-due-to-write-timeout-tp2537877p2537877.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>