Skip to content

Instantly share code, notes, and snippets.

@opensourcejavadeveloper
opensourcejavadeveloper / wildfly-jms-queue.txt
Created October 25, 2021 15:09 — forked from christofluethi/wildfly-jms-queue.txt
List and remove messages in WildFly JMS Queue
# Run JBoss CLI-Client
$ java -jar wildfly/bin/client/jboss-cli-client.jar
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
# Connect to WildFly Server
[disconnected /] connect localhost:9990
Warning! The CLI is running in a non-modular environment and cannot load commands from management extensions.
# Switch to JMS Dead-Letter-Queue (DLQ)
[standalone@localhost:9990 /] cd subsystem=messaging-activemq/server=default/jms-queue=DLQ