In this recipe, we will learn how to produce and consume a JMS queue message. We will use two little applications, one that produces messages, and another one that consumes messages.
adhocfolder to run our WildFly. In a terminal window enter the following commands:
$ cd $WILDFLY_HOME $ cp -a standalone jms-std-node-2
jms-consumer, which you can find in my GitHub repository. If you skipped the Managing applications using the deployments folder recipe of Chapter 2, Running WildFly in Standalone Mode ...