Book Image

Wildfly Cookbook

Book Image

Wildfly Cookbook

Overview of this book

Table of Contents (23 chapters)
WildFly Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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

Well, that was quite simple! Let's try something more exciting with the following recipes of this chapter.

How it works…

First of all, you should have noticed that we specified the --server-config directive, which overrides the default configuration...