Running the messaging system using HornetQ

In this recipe, you will learn how to configure and run the WildFly messaging system provided by HornetQ. This is a warm-up recipe, just to get you ready.

Getting ready

To get started, let's first create an adhoc folder to run our WildFly. In a terminal window enter the following commands:

$ cd $WILDFLY_HOME
$ cp -a standalone jms-std-node-1

Now it's time to run our WildFly!!!

How to do it…

  1. Open a terminal window and execute the following:
    $ cd $WILDFLY_HOME
    $ ./bin/standalone.sh -Djboss.server.base.dir=jms-std-node-1 --server-config=standalone-full.xml
  2. Now if we open the Web Console, we should find the Messaging subsystem as well, as depicted in the following screenshot:

    Admin Console showing the Messaging subsystem ...

Get WildFly Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.