activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: Dropping slow AMQP consumer behaviour
Date Tue, 23 Dec 2014 16:36:24 GMT
I'd have thought that if the broker no longer considered the consumer to be
active, it would have stopped sending keep-alive packets, which would then
cause the consumer to abort, but I haven't looked at that code in any depth.

Have you tried setting abortConnection=true on the
AbortSlowConsumerStrategy, to have the broker close the TCP connection when
it aborts the consumer, rather than just sending a request to the consumer
to ask it nicely to abort?  I'm not sure if it will change the behavior,
but it's worth a shot.

On Tue, Dec 23, 2014 at 8:27 AM, Marcel Meulemans <> wrote:

> > Are you using a non-zero wireFormat.maxInactivityDuration?  This type of
> > situation is exactly what it's intended to detect.
> I don't think the AMQP protocol converter implements an
> InactivityMonitor a.t.m. and I won't help I think. The problem is not
> that there is no communication between the two parties (the
> communication is only interrupted briefly), the problem is that the
> client side does not know that ActiveMQ has dropped him as a consumer
> of a particular queue.
> --
> Marcel

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message