concept Java Message Service in category java

This is an excerpt from Manning's book Spring Integration in Action.
All message-handling components in Spring Integration, such as transformers, splitters, and routers, implement that interface. Therefore those implementations are relatively straightforward, always reacting to a received message, much in the same way as a Java Message Service (JMS) MessageListener would. These components can be connected to any type of channel, but some of the channel types accept event-driven subscribers, whereas others must be polled. Clearly, to connect components to a channel, a certain amount of glue is necessary. In Spring Integration, that glue comes in the form of an adapter that understands how to interact with a given channel while delegating to a MessageHandler. The generic term for that adapter is a message endpoint.
For many Java developers, the first thing that comes to mind when they hear “messaging” is the Java Message Service (JMS). That’s understandable considering it’s the predominant Java-based API for messaging and sits among the standards of the Java Enterprise Edition (JEE). The JMS specification was designed to provide a general abstraction over message-oriented middleware (MOM). Most of the well-known vendor products for messaging can be accessed and used through the JMS API. A number of open source JMS implementations are also available, one of which is ActiveMQ, a pure Java implementation of the JMS API. We use ActiveMQ in some of the examples in this chapter because it’s easy to configure as an embedded broker. We don’t go into any specific ActiveMQ details, though. If you want to learn more about it, please refer to ActiveMQ in Action by Bruce Snyder, Dejan Bosanac, and Rob Davies (Manning, 2011).