File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 )
You can’t perform that action at this time.
0 commit comments