A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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:
subject: Closing the session !!!
Getting this error while doing an select Query
Writting a stdout of to a file in Java
Hibernate, ResultSet and PrepareStatement
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014