JMS Session is the factory for creating Topics and Queues (temporary as well as static resources). I was trying to stress on the point that the JMS resources should be closed as soon as you done using them and not rely on garbage collection.
You are right in that, as soon as the connection is closed, all the constituents of the closed connection and session are closed, like I outlined in the article
>There is no need to close the consumers (QueueReceiver) of a closed session. As soon as the connection that created the temporary queue is closed, all the constituents of the closed connection and session are closed. Relying on garbage collection to eventually reclaim these resources may not be timely enough, especially in the case of JMS resources that are created outside of JVM.
Thank for your time.