MQSeries_High_Delayed_Messages
The MQSeries_High_Delayed_Messages situation determines whether the number of delayed messages exceeds a given threshold for a specific queue. This query can include only an individual queue name.
In the following example, a queue named TEST.QUEUE2 is monitored for 10 messages which have a delay for longer than 300.00 seconds. Note that the Grouping_Mechanism attribute is not specified, which means that statistics are collected at the queue level.
IF VALUE Message_Statistics.Queue Name EQ TEST.QUEUE2
AND VALUE Message_Statistics.Latency Threshold EQ 300.00
AND VALUE Message_Statistics.Delayed Messages GT 10