org.mule.component.simple
Class PassThroughComponent

java.lang.Object
  extended by org.mule.component.AbstractComponent
      extended by org.mule.component.simple.PassThroughComponent
All Implemented Interfaces:
Component, MuleContextAware, Interceptor, Disposable, Initialisable, Lifecycle, Startable, Stoppable

public class PassThroughComponent
extends AbstractComponent

PassThroughComponent will simply return the payload back as the result. This typically you don't need to specify this, since it is used by default.


Field Summary
 
Fields inherited from class org.mule.component.AbstractComponent
disposed, disposing, initialised, interceptors, logger, muleContext, notificationHandler, service, started, statistics, stopping
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
PassThroughComponent()
           
 
Method Summary
protected  Object doInvoke(MuleEvent event)
           
 
Methods inherited from class org.mule.component.AbstractComponent
checkDisposed, createResultMessage, dispose, doDispose, doInitialise, doStart, doStop, fireComponentNotification, getInterceptors, getService, getStatistics, initialise, intercept, invoke, release, setInterceptors, setMuleContext, setService, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PassThroughComponent

public PassThroughComponent()
Method Detail

doInvoke

protected Object doInvoke(MuleEvent event)
                   throws Exception
Specified by:
doInvoke in class AbstractComponent
Throws:
Exception


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.