Anurag Agarwal fb2c026822 Java 11 migrate remaining e (#1112)
* Moves eip-aggregator to Java 11

* Moves eip-message-channel to Java 11

* Moves eip-publish-subscribe to Java 11

* Moves eip-splitter to Java 11

* Moves eip-wire-tap to Java 11

* Moves event-aggregator to Java 11

* Moves event-asynchronous to Java 11

* Moves event-driven-architecture to Java 11

* Moves event-queue to Java 11

* Moves event-sourcing to Java 11

* Moves execute-around to Java 11

* Moves extension-objects to Java 11
2019-12-09 19:03:30 +02:00
..
2019-12-07 18:03:49 +02:00
2019-12-09 19:03:30 +02:00

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern EIP Splitter eip-splitter /patterns/eip-splitter/ Integration
Java
Difficulty-Intermittent
EIP

Intent

It is very common in integration systems that incoming messages consists of many items bundled together. For example an invoice document contains multiple invoice lines describing transaction (quantity, name of provided service/sold goods, price etc.). Such bundled messages may not be accepted by other systems. This is where splitter pattern comes in handy. It will take the whole document, split it based on given criteria and send individual items to the endpoint.

Diagram

alt text

Applicability

Use the Splitter pattern when

  • You need to split received data into smaller pieces to process them individually
  • You need to control the size of data batches you are able to process

Credits