• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Closing the session !!!

 
Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic