File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Closing the session !!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Closing the session !!!" Watch "Closing the session !!!" New topic
Author

Closing the session !!!

Siddharth Bhargava
Ranch Hand

Joined: Feb 23, 2007
Posts: 266
Hi All,
Does closing the session in JMS not close other objects such as publisher, receiver, response destination etc automatically ???. Do we have to close them explicitly ?. How do I verify this.? Please Help !!!
Aum Tao
Ranch Hand

Joined: Feb 14, 2006
Posts: 210
No, you don't need to call close on the producer and consumer of a closed session. However, it there is already a message listener or receive call in progress, the call will be in a blocking state.


SCJP 1.4 85%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Closing the session !!!