2. What are Routers
Routers (Flow Controls in Anypoint Studio) route messages to various destinations in a
Mule flow. Some routers incorporate logic to analyze and possibly transform
messages before routing takes place. For example, various flow controls can:
• Split a message into several segments
• Combine several messages into a single message before sending it to the next
building block in the flow
•Reorder a list of messages before sending it to the next building block
•Broadcast the message
4. Choice Flow Control
The choice flow control dynamically routes messages based on message payload or
properties. It adds conditional programming to a flow, similar to an if/then/else code
block.
5. Scatter-Gather
The routing message processor Scatter-Gather sends a request message to multiple
targets concurrently. It collects the responses from all routes, and aggregates them
into a single message.