activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Etherealmachine <>
Subject Re: Non-Blocking Producer Flow Control
Date Thu, 18 Feb 2010 18:13:58 GMT

That looks like it would work, it should probably be linked to from the
Producer Flow control page. One problem - this is for a temporary response
queue, is it possible to specify policies for temporary queues/topics? This
is especially important if there is an attempted DOS - the client must not
be able to modify the eviction policy.

bsnyder wrote:
> 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:
> Bruce
> -- 
> 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:
> Blog:
> Twitter:

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message