I've just decided to move to JMS support provided by Spring from using those cumbersome Java code to get Connection factory, Session, Connection etc.
The first reason to move on to Spring was, actually, an error of "OutOfMemory" as I've forgotten to close connection after publishing my request to Queue/Topic.
Now The question is
1. Does spring handle ConnectionObject better way or How better does it handle? (Have i asked proper question?)
2. Will it be handle to multiple thread at a time?
3. Is there any way to keep my TopicConnection/QueueConnection singleton?
I'm stuck!!! Please, Help me out.