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

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 server such as WildFly, by using the Java EE Connector Architecture (JCA).

Because HornetQ uses the JCA to integrate itself with WildFly, it also provides out-of-the-box support for connection pooling, JTA transactions, and container managed security, features that simplify a developer's life. Thus, integrating your EJB application with the JMS system will not need additional work.

HornetQ uses two fundamental concepts, that is, acceptors and connectors. Acceptors determine how the HornetQ server accepts incoming...