Spring Integration Tutorial (Part 5) – Routers

by | Aug 26, 2014

Part 5 – ROUTERS

router
In this installment of our Spring Integration tutorial, we examine routers.  Routers distribute messages to one or more message channels.  Some routers (content routers) examine the message payload or headers in order to select a particular destination message channel.  Other routers (recipient list routers) simply distribute the message to all listed message channels.
routing
Here is part 5 of 8 in our Spring Integration Tutorial explaining routers and providing a few examples of SI routers.

 

After watching the video, try your hand at using routers per Lab 5.

Lab5-Routers

Lab 5 code files

Missed other parts of the tutorial series? Check them out using the links below.

Spring Integration Introduction

Spring Integration Tutorial (Part 1) – Understanding Channels

Spring Integration Tutorial (Part 2) – Adapters

Spring Integration Tutorial (Part 3) – Filters

Spring Integration Tutorial (Part 4) – Transformers

Spring Integration Tutorial (Part 5) – Routers

Spring Integration Tutorial (Part 6) – Enrichers

Spring Integration Tutorial (Part 7) – Service Activators

Spring Integration Tutorial (Part 8) – Gateways