Is keeping JMS connections / sessions / consumer always open a bad practice?
Code draft example:
// app startup code ConnectionFactory cf = (ConnectionF
Agreed. Here are some good tips on how to use JMS efficiently which includes keeping around connections/sessions/producers/consumers.
You might also want to check the recommendation on using transactions too if you are interested in maximising performance.