Files
java-design-patterns/eip-wire-tap
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 Wire Tap eip-wire-tap /patterns/eip-wire-tap/ Integration
Java
Difficulty-Intermittent
EIP

Intent

In most integration cases there is a need to monitor the messages flowing through the system. It is usually achieved by intercepting the message and redirecting it to a different location like console, filesystem or the database. It is important that such functionality should not modify the original message and influence the processing path.

alt text

Applicability

Use the Wire Tap pattern when

  • You need to monitor messages flowing through the system
  • You need to redirect the same, unchanged message to two different endpoints/paths

Credits