From the course: Spring: Spring Integration

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create a message in Spring Integration

Create a message in Spring Integration - Spring Tutorial

From the course: Spring: Spring Integration

Start my 1-month free trial

Create a message in Spring Integration

- [Instructor] Let's talk about messages. We will have a look at the message as enterprise integration pattern and also as a specific Spring integration component. We will spend most of our time in this lesson making some code. We should think of a message as a discrete unit of information exchanged by participants in the business logic of an application. The enterprise integration message pattern emphasizes strict encapsulation and statelessness. This makes for a component that is useful across synchronous and asynchronous contexts. Messages are very often purposed to communicate data, commands, or events, and they typically fulfill a contract between a sender and receiver. As a pattern, a message may be supported by contextual meta information. This is comparable to an envelope for a letter to ensure transport fulfillment. As the most granular Spring integration component, the message directly supports these design…

Contents