8.5. JMS application development
A JMS application uses either the point-to-point (PTP) or publish/subscribe style of messaging. Nothing prevents these styles from being combined in a single application; however, JMS focuses on applications that use one or the other. JMS defines these two styles because they represent the two dominant approaches to messaging currently in use. Since many messaging systems only support one of these styles, JMS provides a separate domain for each and defines compliance for each domain.
8.5.1. JMS point-to-point (PTP) model
Point-to-point messaging involves working with queues of messages. The sender sends messages to a specific queue to be consumed normally by a single receiver. In point-to-point communication, ...
Get MQSeries Programming Patterns 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.