Skip to content

Commit 5227215

Browse files
author
adkm
committed
iluwatar#176 pattern description and diagram
1 parent f80d903 commit 5227215

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

eip-wire-tap/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: pattern
3+
title: EIP Wire Tap
4+
folder: eip-wire-tap
5+
permalink: /patterns/eip-wire-tap/
6+
categories: Enterprise integration
7+
tags:
8+
- Java
9+
- Difficulty-Intermittent
10+
- Enterprise integration
11+
---
12+
13+
## Intent
14+
In most integration cases there is a need to monitor the messages flowing through the system. It is usually achieved
15+
by intercepting the message and redirecting it to a different location like console, filesystem or the database.
16+
It is important that such functionality should not modify the original message and influence the processing path.
17+
18+
![alt text](./etc/wiretap.gif "Wire Tap")
19+
20+
## Applicability
21+
Use the Wire Tap pattern when
22+
23+
* You need to monitor messages flowing through the system
24+
* You need to redirect the same, unchanged message to two different endpoints/paths
25+
26+
## Credits
27+
28+
* [Gregor Hohpe, Bobby Woolf - Enterprise Integration Patterns](http://www.enterpriseintegrationpatterns.com/patterns/messaging/WireTap.html)
29+
* [Apache Camel - Documentation](http://camel.apache.org/wire-tap.html)

eip-wire-tap/etc/wiretap.gif

3 KB
Loading

0 commit comments

Comments
 (0)