Is keeping JMS connections / sessions / consumer always open a bad practice?
Code draft example:
// app startup code ConnectionFactory cf = (ConnectionF
That is a very common and acceptable practice when dealing with long lived connections. For many JMS servers it is in fact preferable to creating a new connection each time it is needed.