Well, it took some time but I've got it to work. What needs to be done is calling destroy() and afterPropertiesSet() respectively for all the JCAConnectors in the ApplicationContext. This kills/creates the internal worker-thread of the JCA resourceAdapter. And there is no need to touch the JCAContainer at all. Just the connectors.
Thanks for the moral support :-) -- View this message in context: http://www.nabble.com/How-to-Pause-Resume-a-MessageListener--tf2902158.html#a8248579 Sent from the ActiveMQ - User mailing list archive at Nabble.com.