When Messaging Is a Good Choice
Using a messaging service makes sense when the application either never requires information back from a request or could wait some time before getting information back about a request—for example, when requesting inventory replenishment from a supplier. The application or component requesting the inventory does not need to know when the request is made if the inventory is available. It is not uncommon for supplies to be backordered, and it may be perfectly acceptable to wait several days before the information about the backordered supply replenishment order is received.
Some products are assembled on request (for instance, furniture). These assembly orders often take weeks or months to fulfill and are sometimes ...
Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.