So I guess this is the "queueThresholdExceeded" Event, This looks pretty
cool.

However......

I notice if I set up the queue and run my producer, the first time I exceed
the threshold I get the Event nicely, but if I re-run the producer to an
already full queue I simply get the exception thrown without seeing the
queueThresholdExceeded Event.

If I fill the queue, hoover messages off it then fill it up again I get the
Events fine even if I do it pretty quickly, just not when I attempt to push
messages onto an already full queue.

The broker still reports "error Execution exception:
resource-limit-exceeded: Policy exceeded"

This seems inconsistent - have I missed something?

Regards,
Fraser



Gordon Sim wrote:
> 
> 
>>  Is it possible for a QMF client to get
>> notified if any queue on the broker fills up? Better yet I'd really like
>> to
>> be notified of it hitting some threshold *before* this happens so I can
>> take
>> preventative action.
> 
> As of 0.10 that is indeed possible. You can configure a threshold for a 
> queue that when reached will result in an alert event being sent out. By 
> default the threshold will be 80% of any explicitly configured queue 
> limit, but you can set it up explicitly via arguments to the queue
> declare:
> 
> 
> 


--
View this message in context: 
http://apache-qpid-users.2158936.n2.nabble.com/QMF-Questions-tp6533747p6534589.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to