Chapter 2. Understanding message-oriented middleware and JMS


This chapter covers
  • Enterprise messaging and message-oriented middleware
  • Understanding the Java Message Service (JMS)
  • Using the JMS APIs for sending and receiving messages
  • An example of a message-driven bean


To help you better understand the ideas behind ActiveMQ, it’s important to have some background and history on enterprise messaging in general. After discussing enterprise messaging, you’ll be prepared for a brief introduction to JMS followed by some small examples of its use. The purpose of this chapter is to briefly review enterprise messaging and the JMS specification. If you’re already familiar with these topics, you can skip ahead to the next chapter.

At one time ...

Get ActiveMQ in Action 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.