Reputation: 65
I have a requirement, where I need to send an alert, when no of messages reach in mq queues.
Can we set an alert in Anypoint Message Queue?
Upvotes: 1
Views: 814
Reputation: 3406
I am not completely sure, what you want to achieve, but if you would like to access some message queue related statistics, then you could use the MQ Statistics API.
Using the API you can access different statistics, that could be interesting for you based on your question:
As of Anypoint MQ 1.7.4 release, these statistics are provided:
messagesVisible - The number of messages that can be retrieved from a queue. messagesSent - The number of messages added to a queue. messagesReceived - The number of messages received in a queue. messagesAcked - The number of messages ACKed. Also includes any messages deleted using the Anypoint Platform > MQ user interface.
I hope I have helped.
Upvotes: 0
Reputation: 172
You can set this from your MQ management tool. Click here to know more details.
Upvotes: 1