Chapter 13. Messaging with WildFly

In this chapter, you will learn the following recipes:

  • Running the messaging system using HornetQ
  • Sending and receiving messages to/from a JMS queue destination
  • Clustering HornetQ using a shared store
  • Clustering HornetQ using message replication

Introduction

In this chapter, you will learn how to configure HornetQ embedded in our WildFly in order to provide JMS capabilities to our applications. As WildFly is a Java EE 7-certified application server, it implements the JMS specification version 2.0.

HornetQ is a Message oriented middleware (MOM) used to exchange messages in clustered and asynchronous systems. It can run standalone (I'm not talking about the WildFly standalone mode) or embedded, that is inside an application ...

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.