7.1. Introduction
Another way to exchange data between Java and non-Java environments is to use Message-Oriented Middleware (MOM). Typically, this class of software is implemented as server technology that defines message queues—holding bins for messages—or handles redistribution of messages to a group of subscribers (also known as publish/ subscribe).
Asynchronous messaging allows applications to communicate over time without having to wait for the consumer to process the message. This is important when the consumer may not be available or may only be available for short time periods daily. In synchronous messaging systems, a producer will send a message to a consumer and wait for an acknowledgement. This delay is called blocking, and it forces ...
Get Enterprise Application Integration With XML and Java™ 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.