org.ikasan.framework.component.endpoint
Class WiretapEndpoint

java.lang.Object
  extended by org.ikasan.framework.component.endpoint.WiretapEndpoint
All Implemented Interfaces:
Endpoint, FlowComponent

public class WiretapEndpoint
extends Object
implements Endpoint

Wiretap endpoint component.

Author:
Ikasan Development Team

Constructor Summary
WiretapEndpoint(String moduleName, String flowName, String componentName, WiretapService wiretapService)
          Constructor
 
Method Summary
 void onEvent(Event event)
          Delivers the Event to an external system
 void setWiretapEventTimeToLive(long wiretapEventTimeToLive)
          Set how long the wire tap has to live
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WiretapEndpoint

public WiretapEndpoint(String moduleName,
                       String flowName,
                       String componentName,
                       WiretapService wiretapService)
Constructor

Parameters:
moduleName - The name of the module we are wiretapping
flowName - The name of the flow we are wiretapping
componentName - The name of the component we are wiretapping
wiretapService - The wiretap service to use
Method Detail

onEvent

public void onEvent(Event event)
Description copied from interface: Endpoint
Delivers the Event to an external system

Specified by:
onEvent in interface Endpoint
Parameters:
event - The event we're delivering

setWiretapEventTimeToLive

public void setWiretapEventTimeToLive(long wiretapEventTimeToLive)
Set how long the wire tap has to live

Parameters:
wiretapEventTimeToLive - The time in milliseconds the wiretap has to live


Copyright © 2007-2012 Ikasan. All Rights Reserved.