LibraryLink ToToggle FramesPrintFeedback

Wire Tap

The wire tap pattern allows you to route messages to a separate tap location before it is forwarded to the ultimate destination.


The following example shows how to define a wire tap using the EIP service engine. The In message from the source endpoint is copied to the In-listener endpoint, before being forwarded on to the target endpoint. If you want to monitor any returned Out messages or Fault messages from the target endpoint, you would also need to define an Out listener (using the eip:outListner element) and a Fault listener (using the eip:faultListener element).

<eip:wire-tap service="test:wireTap" endpoint="endpoint">
  <eip:target>
    <eip:exchange-target service="test:target" />
  </eip:target>
  <eip:inListener>
    <eip:exchange-target service="test:trace1" />
  </eip:inListener>
</eip:wire-tap>

The following table lists attributes of <eip:wire-tap>:


The following table lists elements of <eip:wire-tap>: