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.

Choose the right channel for the job

Choose the right channel for the job - Spring Tutorial

From the course: Spring: Spring Integration

Start my 1-month free trial

Choose the right channel for the job

- [Instructor] Now let's go further on the topic of message channels. Let's have a look at the channel as an enterprise integration pattern, then we'll return to spring integration and end the lesson with the code implementation. As we have learned, a subscribable model allows a consumer to listen for interesting events by subscription. It is sometimes referred to as an event driven or broadcast model of communication. The sibling, the pollable model, requires a consumer to explicitly ask for the latest messages. A queue is not a communication model but rather a data structure that stores messages for retrieval in a specific predetermined order. Let's talk for a minute about channels theoretically, in the context of enterprise integration patterns. The best way I know how to do this, is to read a direct quote from the publication itself. A messaging system manages messaging the way a database system manages data…

Contents