lbroman e36bbbb22b Maven profiles to support jdk 11 builds. #948 (#975)
* Maven profiles to support jdk 11 builds. #948

Added maven profiles activated by jdk 11, wich will not break java 8 support.
Bumped lombok and datanucleus enhancer as the old versions dont work with 11.

* Fixed PMD issue when building naked-objects

* Fixed the eip modules with xml dependencies.

Previous dependency relaxing commit causes xml libs to go missing from
some modules that actually needed them
2019-10-11 21:55:48 +03:00
..
2017-11-28 20:55:52 +02:00
2017-12-25 11:30:24 +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.

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