activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <>
Subject Re: Non-Blocking Producer Flow Control
Date Thu, 18 Feb 2010 18:02:51 GMT
On Thu, Feb 18, 2010 at 10:32 AM, Etherealmachine
<> wrote:
> Hello,
>    Is it possible to either discover if a destination is being
> flow-controlled? I have a case where the producer should never block while
> sending to a queue. The queue is used to respond to a client request, and if
> the client ignores the response, sending more will block the server,
> allowing a denial of service. It's acceptable for the server to either drop
> responses until the queue is less full or for the queue to silently drop
> messages if it gets too full. Basically it is the server's responsibility to
> not block, and the client's responsibility to consume messages. I'd also
> rather handle this only on the queue being filled up, the request queue is a
> topic, so other clients are requesting service on it.

Based on what you're described, I think you consider configuring
either the limit strategies and/or the message eviction policies:

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

ActiveMQ in Action:

View raw message