The JMX console provides a raw view into the micro kernel of the JBoss Application Server.
You can use the JMX console to do the following:
Check the number of messages waiting in the JMS queue.
Flush the JMS queue.
For more extensive information, see: E-Mail Troubleshootingin the WebCenter Documentation.
Procedure
To inspect the mail queue, perform the following:
Open the Wildfly administrator console.
This can be done by connecting to the Application server and using the url: localhost:1090.
By default the management interface is only deployed on the localhost network adapter, and thus can only be reached from localhost.
To log in to the management console you can use: username --> BGSYSTEM;password --> the BGSYSTEM user password.
Navigate through the interface to the WCRMailQueue.
Click the Runtime tab.
Navigate to Standalone Server > Subsystems > Messaging - ActiveMQ
Click the View option. This will open the JMS Messaging provider. Currently we are only using the default one, so click View again in the Option column. This will open the metrics view.
Select the WCRMailQueue.
The Queue Metrics section gives you more information about the current state of the queue.
You can flush the currently selected queue by clicking the Flush button.