A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
EJB and other Java EE Technologies
Closing the session !!!
Joined: Feb 23, 2007
Dec 09, 2008 20:37:00
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 !!!
Joined: Feb 14, 2006
Dec 09, 2008 21:23:00
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:
- it saves me about five hours per week
subject: Closing the session !!!
Hibernate, ResultSet and PrepareStatement
Writting a stdout of to a file in Java
Getting this error while doing an select Query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013