Book Image

Spring Integration Essentials

By : CHANDAN K PANDEY
Book Image

Spring Integration Essentials

By: CHANDAN K PANDEY

Overview of this book

Table of Contents (18 chapters)
Spring Integration Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. An End-to-End Example

We have covered enough to get up to speed using Spring Integration in real projects. Let's build a real application, which will exercise different types of components exposed by the Spring Integration module. This will also act as a refresher chapter as we will visit all the concepts discussed so far.

Let's take an example of the feeds aggregator application; it will aggregate feeds based on the configured parameters and then relay it to interested parties. Here is the outline of problems we will try to solve. These are just for the sake of an example, in a real scenario, we might not need the aggregator or splitter, or the sequence of processing itself can be different:

  • Ingesting data can be done by:

    • Reading RSS feeds

    • Reading questions from files on an FTP server

  • Filtering data:

    • Filtering the valid/invalid messages based on completion criteria; for simplicity, we will filter out java questions

  • Aggregating messages: Just to showcase the example, we will aggregate...