Inspect message content, metadata, state or routing configuration.
Content-Based Router
Inspect message content and route to the destination whose rules match. Keep routing rules visible and maintainable because they often become a frequent change point.
How do we handle a situation where the implementation of a single logical function is spread across multiple physical systems?Adapted from Enterprise Integration Patterns under CC BY 3.0. The visualization and explanatory content on this page are original GateSift material.
How Content-Based Router works
A routing decision sends the message along one of several possible paths.
Use Content-Based Router to select the next destination or processing step.
Continue on the selected path while keeping the producer decoupled from destinations.
What this pattern helps you decide
Inspect message content and route to the destination whose rules match. Keep routing rules visible and maintainable because they often become a frequent change point.
Where you may see it
- APIM choose/when
- Service Bus SQL filters
- BizTalk send-port filters
How the analyzers can surface it
- APIM choose branches
- BizTalk filter expressions
Pattern detection is contextual. GateSift should present these as architectural signals, not claim a pattern is implemented solely because one policy statement or adapter exists.
The pattern name and selected problem statement are adapted from Enterprise Integration Patterns by Gregor Hohpe and Bobby Woolf under CC BY 3.0. GateSift summaries, Azure mappings, analyzer guidance and diagrams are original. No endorsement by the original authors is implied.