Reputation: 253
I read http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/jms/listener/AbstractJmsListeningContainer.html but i still do not understand the differences between destroy() and shutdown() and i do not understand what stop() does. I tested stop() and the container was still running. Can someone explain?
Upvotes: 2
Views: 617
Reputation: 3132
According to the sources https://src.springframework.org/svn/spring-maintenance/trunk/src/org/springframework/jms/listener/AbstractJmsListeningContainer.java
So the best way is to call shutdown (or destroy)
Upvotes: 3