Reputation: 1
I want to fetch all the details of the JMS like what all queues are there and how many messages are present. Can I fetch all these details from backend? If there is any file which stores all these details where I can look. Any help, please.
Upvotes: 0
Views: 47
Reputation: 34998
The JMS specification doesn't define how to retrieve the kind of information you're looking for. Therefore, the solution to your problem will be based on what kind of JMS server you're using and whether or not it provides access to the data you need.
For example, ActiveMQ Artemis provides programmatic access to a wealth of metrics and administrative data through HTTP, JMX, and even specially constructed JMS messages. You can read more about this in the documentation.
Upvotes: 1