10 Integrating Spring

 

This chapter covers

  • Processing data in real time
  • Defining integration flows
  • Using Spring Integration’s Java DSL definition
  • Integrating with emails, filesystems, and other external systems

One of the most frustrating things I encounter as I travel is being on a long flight and having a poor or nonexistent in-flight internet connection. I like to use my air time to get some work done, including writing many of the pages of this book. If there’s no network connection, I’m at a disadvantage if I need to fetch a library or look up a Javadoc, and I’m not able to get much work done. I’ve learned to pack a book to read for those occasions.

Just as we need to connect to the internet to be productive, many applications must connect to external systems to perform their work. An application may need to read or send emails, interact with an external API, or react to data being written to a database. And, as data is ingested from or written to these external systems, the application may need to process data in some way to translate it to or from the application’s own domain.

10.1 Declaring a simple integration flow

10.1.1 Defining integration flows with XML

10.1.2 Configuring integration flows in Java

10.1.3 Using Spring Integration’s DSL configuration

10.2 Surveying the Spring Integration landscape

10.2.1 Message channels

10.2.2 Filters

10.2.3 Transformers

10.2.4 Routers

10.2.5 Splitters

10.2.6 Service activators

10.2.7 Gateways

10.2.8 Channel adapters

10.2.9 Endpoint modules

10.3 Creating an email integration flow

Summary

sitemap