Splitter-Aggregator
Split a message, process the parts, put them back together.
- Format.puml
- Length34 lines
- LibraryEnterprise Integration Patterns
The source
34 lines of PlantUML, and pulls in Enterprise Integration Patterns. Copy it, or open the template inside Gnomon and render it as it is.
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/EIP-PlantUML/main/dist/EIP-PlantUML.puml
title Splitter-Aggregator Pattern
LAYOUT_LEFT_RIGHT()
MsgChannel(input, "Batch Orders")
Splitter(splitter, "Order Splitter")
MsgChannel(items, "Individual Items")
ServiceActivator(process1, "Process Item")
ServiceActivator(process2, "Process Item")
ServiceActivator(process3, "Process Item")
MsgChannel(processed, "Processed Items")
Aggregator(aggregator, "Order Aggregator")
MsgChannel(output, "Complete Orders")
Send(input, splitter)
Send(splitter, items)
Send(items, process1)
Send(items, process2)
Send(items, process3)
Send(process1, processed)
Send(process2, processed)
Send(process3, processed)
Send(processed, aggregator)
Send(aggregator, output)
@endumlRender this offline
This template ships in Gnomon and renders on your machine, with no account and nothing sent to a server. The browser editor is free and needs no install.
Others in Enterprise integration pattern diagrams
- Simple MessagingA channel and two endpoints: the vocabulary in miniature.
- Content-Based RouterRoute by message content. Where most integrations start.
- Publish-SubscribeOne publisher, many independent subscribers.
- Pipes and FiltersA processing chain where each stage is replaceable.
- Request-ReplyAsync messaging that still needs an answer.
- Error HandlingWhat happens when a message cannot be processed. Draw this one.
- Wire Tap (Monitoring)Observe traffic without changing it: for audit and monitoring.