I have broker with VM connector and I keep one session to this
connector. After a while I cannot consume messages, I got
"avax.jms.IllegalStateException: The Session is closed" even if I don't
close the connection.
Is not safe to keep a session opened for a long time? There is some
background job that close long running sessions?