message « jmx « Java Enterprise Q&A





1. How to stop message processing before undeploying?    stackoverflow.com

Given:

  • A JMS message queue.
  • A timer service which puts messages to that queue periodically (from a database).
  • A JEE6 message-driven bean which reads from the queue.
  • The timer service and the message-driven bean are ...

2. How to stop message delivery to a Message Driven Bean?    stackoverflow.com

Question Is it possible to stop a Message Driven Bean (programmatically), so that it doesn't consume new messages, but processes running transactions as usual? (This is a follow up of How to ...