Messaging is one of the most important considerations when designing an enterprise application. Messaging systems are widely used in enterprise applications and allow us to develop scalable and reliable applications. The idea behind messaging systems is to generate messages about application events, push these messages into some kind of a queue, persist them into a datastore, and then later retrieve them from that store for further processing. A messaging framework is based on a combination of a common data model, a common command set, and a messaging infrastructure to allow different system components to communicate through a shared set of interfaces:
In this chapter, we will learn about a number of enterprise messaging techniques using the Java EE Java Message Service (JMS) API and Kotlin.
The objectives of this chapter are as follows:
- Understanding...