HornetQ Messaging Developer's Guide

Avoid being stung by JBoss HornetQ messaging service whether you're an existing user or a newcomer with this agile, fast-paced, example-rich guide with this book and ebook
Preview in Mapt

HornetQ Messaging Developer's Guide

Piero Giacomelli

Avoid being stung by JBoss HornetQ messaging service whether you're an existing user or a newcomer with this agile, fast-paced, example-rich guide with this book and ebook
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99 p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


HornetQ Messaging Developer's Guide Book Cover
HornetQ Messaging Developer's Guide
$ 26.99
$ 18.90
Java 7 Concurrency Cookbook Book Cover
Java 7 Concurrency Cookbook
$ 29.99
$ 21.00
Buy 2 for $35.00
Save $21.98
Add to Cart

Book Details

ISBN 139781849518406
Paperback250 pages

Book Description

Messages and information can be exchanged at exponential speed with JBoss HornetQ asynchronous messaging middleware. Learn how to use the JAVA open source Message Oriented Framework, to build a high-performance, multi-protocol, embeddable, clustered system and manage millions of messages per second.

In the HornetQ Messaging Developer’s Guide you will find the most common applications of a message exchanger with example code, as part of real-world scenarios. This practical and applicable guide increases reader knowledge chapter by chapter, covering basics to the most advanced features.

You will start from a clean installation of a HornetQ sever and, having progressively become a HornetQ master, will finish by being able to use the framework embedded in your software and sharing information in a cluster environment.

Starting from writing and reading a single message, we will discover more advanced features like managing queues, clustering the server, and controlling the undelivered messages. The book deals with a real-world advanced medical scenario as the main example that will lead you from learning the basics to the advanced features of HornetQ.

Table of Contents

Chapter 1: Getting Started with HornetQ
A quick introduction to HornetQ
Introduction to our fictional example
Installation and configuration of the environment
Downloading the software
Installing HornetQ
Installing HornetQ on Linux/Unix/Mac the easy way
Configuring the Eclipse IDE for HornetQ
Coding our first example
Summary
Chapter 2: Setting Up HornetQ
Which HornetQ version do I need?
What about the cloud?
A word on the operating system
System requirements
Installing the Java Virtual Machine
Installing the HornetQ standalone server
Starting/stopping HornetQ
Compiling from sources
Basic HornetQ configuration
Starting HornetQ as a service in Windows/Linux
HornetQ and JBoss AS 7
Checking your setup/installation
Summary
Chapter 3: Basic Coding with HornetQ: Creating and Consuming Messages
Installing Eclipse on Windows
Installing NetBeans on Windows
Installing NetBeans on Linux
Post installation
A 10,000 foot view of HornetQ
The HornetQ core API example
Putting everything together
Final considerations
Have you done your math?
Summary
Chapter 4: Monitoring HornetQ
Managing HornetQ using the core API
JMS management API
Managing clients using JMX
Summary
Chapter 5: Some More Advanced Features of HornetQ
Managing large messages with HornetQ
Managing undelivered messages
Message priority
Summary
Chapter 6: Clustering with HornetQ
First cluster with two different nodes
Creating a sharing queue on a HornetQ cluster
Configuring the environment
Coding the clustered queue example
Summary
Chapter 7: Divert and Filter Messages
A more detailed description
Configuring the servers
Configuring the XML
Summary
Chapter 8: Controlling Message Flow
What happens when you send or receive a message (for real)
Controlling the producer side
Summary
Chapter 9: Ensuring Your HornetQ Security
Configuring the HornetQ security
Resuming the example on security and permissions
Summary
Chapter 10: HornetQ in JBoss Environment
Configuring and installing JBoss
Configuring HornetQ within JBoss
HornetQ and J2EE environment
Summary
Chapter 11: More on HornetQ Embedding
Embedding the HornetQ server in your application
Using STOMP with HornetQ
Using HornetQ with Spring
Coding our example
Summary

What You Will Learn

  • Install and configure a HornetQ server on Windows or Linux
  • Control the whole process of reading, writing and queuing messages
  • Check the exact status of every single message in the system
  • Group different servers to form a High Performance Message Cluster
  • Deliver messages over a WAN to configure backup servers anywhere
  • Secure your server to avoid any intrusion even by the internal coder who manages queues
  • Manage your client to control task assignment
  • Use HornetQ inside JBOSS, Spring or elsewhere, embedded in your Java application or as a standalone server

Authors

Table of Contents

Chapter 1: Getting Started with HornetQ
A quick introduction to HornetQ
Introduction to our fictional example
Installation and configuration of the environment
Downloading the software
Installing HornetQ
Installing HornetQ on Linux/Unix/Mac the easy way
Configuring the Eclipse IDE for HornetQ
Coding our first example
Summary
Chapter 2: Setting Up HornetQ
Which HornetQ version do I need?
What about the cloud?
A word on the operating system
System requirements
Installing the Java Virtual Machine
Installing the HornetQ standalone server
Starting/stopping HornetQ
Compiling from sources
Basic HornetQ configuration
Starting HornetQ as a service in Windows/Linux
HornetQ and JBoss AS 7
Checking your setup/installation
Summary
Chapter 3: Basic Coding with HornetQ: Creating and Consuming Messages
Installing Eclipse on Windows
Installing NetBeans on Windows
Installing NetBeans on Linux
Post installation
A 10,000 foot view of HornetQ
The HornetQ core API example
Putting everything together
Final considerations
Have you done your math?
Summary
Chapter 4: Monitoring HornetQ
Managing HornetQ using the core API
JMS management API
Managing clients using JMX
Summary
Chapter 5: Some More Advanced Features of HornetQ
Managing large messages with HornetQ
Managing undelivered messages
Message priority
Summary
Chapter 6: Clustering with HornetQ
First cluster with two different nodes
Creating a sharing queue on a HornetQ cluster
Configuring the environment
Coding the clustered queue example
Summary
Chapter 7: Divert and Filter Messages
A more detailed description
Configuring the servers
Configuring the XML
Summary
Chapter 8: Controlling Message Flow
What happens when you send or receive a message (for real)
Controlling the producer side
Summary
Chapter 9: Ensuring Your HornetQ Security
Configuring the HornetQ security
Resuming the example on security and permissions
Summary
Chapter 10: HornetQ in JBoss Environment
Configuring and installing JBoss
Configuring HornetQ within JBoss
HornetQ and J2EE environment
Summary
Chapter 11: More on HornetQ Embedding
Embedding the HornetQ server in your application
Using STOMP with HornetQ
Using HornetQ with Spring
Coding our example
Summary

Book Details

ISBN 139781849518406
Paperback250 pages
Read More

Read More Reviews

Recommended for You

Java 7 Concurrency Cookbook Book Cover
Java 7 Concurrency Cookbook
$ 29.99
$ 21.00
Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications Book Cover
Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications
$ 23.99
$ 16.80
Oracle Solaris 11 Advanced Administration Cookbook Book Cover
Oracle Solaris 11 Advanced Administration Cookbook
$ 35.99
$ 25.20
Instant OpenNMS Starter Book Cover
Instant OpenNMS Starter
$ 14.99
$ 10.50
Object-Oriented JavaScript - Second Edition Book Cover
Object-Oriented JavaScript - Second Edition
$ 29.99
$ 21.00
Building Telephony Systems With Asterisk Book Cover
Building Telephony Systems With Asterisk
$ 17.99
$ 12.60