Skip to content

Files

Latest commit

1c0e0cd · Mar 31, 2018

History

History
This branch is 2265 commits behind iluwatar/java-design-patterns:master.

eip-wire-tap

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 28, 2017
Dec 31, 2017
Dec 25, 2017
Mar 31, 2018
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