How to empty the message queues during JBoss server shutdown

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content