O'Reilly logo

WildFly Cookbook by Luigi Fugaro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required