mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 04:16:14 +00:00
#176 pattern description and diagram
This commit is contained in:
1 parent
f80d903cff
commit
522721559b
2 files changed
+29
No files matched your search
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
layout: pattern
|
||||||
|
title: EIP Wire Tap
|
||||||
|
folder: eip-wire-tap
|
||||||
|
permalink: /patterns/eip-wire-tap/
|
||||||
|
categories: Enterprise integration
|
||||||
|
tags:
|
||||||
|
- Java
|
||||||
|
- Difficulty-Intermittent
|
||||||
|
- Enterprise integration
|
||||||
|
---
|
||||||
|
|
||||||
|
## 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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 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
|
||||||
|
|
||||||
|
* [Gregor Hohpe, Bobby Woolf - Enterprise Integration Patterns](http://www.enterpriseintegrationpatterns.com/patterns/messaging/WireTap.html)
|
||||||
|
* [Apache Camel - Documentation](http://camel.apache.org/wire-tap.html)
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Reference in new issue
Block a user