How to empty the message queues during JBoss server shutdown
Issue
- Is there anyway to instruct JBoss to finish processing the message queues before server shutdown completes?
- When a server shutdown is initiated with messages still left to be processed (in the queue) by the service, those messages are left in queue (persisted in DB) and are being processed when the server is restarted.
- We want to empty the queue (process all the messages) before server goes down gracefully.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
