File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,22 @@ tags:
11
11
---
12
12
13
13
## Intent
14
+ It is very common in integration systems that incoming messages consists of many items bundled together. For example
15
+ an invoice document contains multiple invoice lines describing transaction (quantity, name of provided
16
+ service/sold goods, price etc.). Such bundled messages may not be accepted by other systems. This is where splitter
17
+ pattern comes in handy. It will take the whole document, split it based on given criteria and send individual
18
+ items to the endpoint.
14
19
20
+ ![ alt text] ( ./etc/sequencer.gif " Splitter ")
15
21
16
22
## Applicability
23
+ Use the Splitter pattern when
17
24
25
+ * You need to split received data into smaller pieces to process them individually
26
+ * You need to control the size of data batches you are able to process
18
27
19
28
## Credits
20
29
30
+ * [ Gregor Hohpe, Bobby Woolf - Enterprise Integration Patterns] ( http://www.enterpriseintegrationpatterns.com/patterns/messaging/Sequencer.html )
31
+ * [ Apache Camel - Documentation] ( http://camel.apache.org/splitter.html )
32
+
You can’t perform that action at this time.
0 commit comments