Messaging Models
JMS domains provide for the classification of messaging paradigms, including point-to-point and publish/subscribe. Point-to-point messaging generally relies upon queues to transport messages. Publish/subscribe, as we discussed in Chapter 7, addresses messages to some node in a content hierarchy. Pub/sub is particularly useful to application integration projects because it does not require an understanding about the resource that is being subscribed to. JMS provides client interfaces created for each type of domain.
With these two paradigms available, the question that confronts the architect and developer is, which one to use and when? The answer may be found in a closer examination of the two options. JMS point-to-point messaging ...
Get Next Generation Application Integration: From Simple Information to Web Services 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.