jms - Spring DefaultMessageListenerContainer -


here's spring jms configuration

<jms:listener-container connection-factory="connectionfactory" destination-resolver="jndidestinationresolver"> <jms:listener id = "listener1" destination ="${queue1}" ref="mylistener1" /> <jms:listener id = "listener2" destination ="${queue2}" ref="mylistener2" /> <jms:listener id = "listener3" destination ="${queue3}" ref="mylistener3" /> </jms:listener-container> 

i building custom gui start or stop jms listeners. in defaultmessagelistenercontainer, have methods start , stop.

is there way find out whether listener stopped or not?

i have provide start button if it's stopped.

there method called isrunning(). helps.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -