JMSTemplate spring will close and create all resources (Connections, Consumers, Producers ..) every time it receives or sends a message. This will be a huge performance bottleneck if you are not using federated connections, sessions, consumers .....
Having said that, yes, the JMSTemplate should close your connection every time.
source share