Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS : QueueConnection.close()  RSS feed

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?? I really don't think in the life span of the app when JMS would not be used.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!