13
Jakarta Messaging
Jakarta Messaging provides a mechanism for Jakarta EE applications to send messages to each other. Jakarta Messaging applications do not communicate directly; instead, message producers send messages to a destination, and message consumers receive the message from the destination.
The message destination is a message queue when the point-to-point (PTP) messaging domain is used, or a message topic when the publish/subscribe (pub/sub) messaging domain is used.
In this chapter, we will cover the following topics:
- Working with message queues
- Working with message topics
Note
Example source code for this chapter can be found on GitHub at https://github.com/PacktPublishing/Jakarta-EE-Application-Development/tree/main/ch13_src ...
Get Jakarta EE Application Development - Second Edition 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.