Displaying the listeners and their status in my ap

2019-09-12 17:23发布

问题:

In my spring application, i want to display the Listeners and their running status.I am using @JmsListener anotation. I got hint from this url - Configuring multiple DefaultJmslistenercontainerfactory

However, i am also facing a same challenge, I do get the listener statuses but not getting Id's of the listener. Further on, i want to start/stop the listener using same ids

How can i get the id's of the Listeners?

回答1:

There's not currently an API to get the list of listener container ids.

I have opened a JIRA Issue which you can track.