问题
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.
来源:https://stackoverflow.com/questions/33475344/displaying-the-listeners-and-their-status-in-my-application