I need to get the numver of messages passes through the sonic queue per minute via a java code. I need this so i can create an alert when this messages per minute is higher than normal count. Can some on please assist me with this. Thanks
If you are using a queue, messages do not really "pass through" a queue. Are you looking for the number of messages sent from the queue (delivered) and/or the number of messages sent to the queue (received). Notifications are available for both of these metrics within the Sonic Management Console. This information is also exposed via the Sonic Management API (com.sonicsw.mq.components.BrokerComponent).