• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS : QueueConnection.close()

 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear JMS folks,
I've got this class which manages a pool of JMS Queue Sessions. The QueueConnection.start() is actually started only during the pool initialisation or when it's restarted when a session is found to be 'corrupted'.
It seems to work fine, however, I'm unsure when I should manage a QueueConnection.close() in the application. Is it when we know no one else would be using the JMS pool or is this really necessary to be managed??.....as I really don't think in the life span of the app when JMS would not be used.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!