Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 828
Leo Avatar asked Mar 03 '26 23:03

Leo


1 Answers

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

like image 129
Diversity Avatar answered Mar 05 '26 11:03

Diversity



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!