Hi, besides the advisory approach you can use JMX and monitor the "ConsumerCount" property of any "org.apache.activemq:BrokerName=BROKER_NAME,Type=Queue,Destination=QUEUE_NAME" MBean. You need to replace the ALL_CAPS tokens with correct values.
Best regards, Martin On Thu, Aug 11, 2011 at 11:09 PM, agujral <[email protected]> wrote: > > Hi All, > How can I add monitoring in activemq when there is no consumer for > a particular destination. > Thanks > Anurag > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Monitoring-when-there-are-no-consumers-for-a-destination-tp3737287p3737287.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >
