The JMS threading restrictions are here: https://docs.oracle.com/cd/E19340-01/820-6767/aeqdb/index.html
which basically say if you're using a MessageListener you have to work with that message/session within the given onMessage function. However, I don't think that's true WRT ActiveMQ is it? I accidentally had some threads using commit/rollback/ and consumers/producers outside of the original thread and everything worked fine. Additionally it would be nice to (maybe officially) relax this requirement. I'd love to receive messages in one MessageListener event listener and then send them between threads. Kevin -- We’re hiring if you know of any awesome Java Devops or Linux Operations Engineers! Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile <https://plus.google.com/102718274791889610666/posts>