Leo
Leo

Reputation: 6570

How do I pause / suspend a message-driven bean from consuming?

I know I could re-enqueue, but I'd like to know if I can enable/disable anything using the internals or JMX

I am using TomEE+ 1.6.0, which relies on ActiveMQ

Upvotes: 3

Views: 740

Answers (1)

Diversity
Diversity

Reputation: 1900

This should be possible using the JMX console of the Apache Tomcat. Have a look here https://tomcat.apache.org/tomcat-6.0-doc/monitoring.html

A similar problem concerning the JBoss AS in conjunction with the HornetQ Framework which is also JMS based, is disussed here. Pause MDB message Processing

Upvotes: 2

Related Questions