org.mule.components.simple
Class EchoComponent

java.lang.Object
  extended byorg.mule.components.simple.LogComponent
      extended byorg.mule.components.simple.EchoComponent
All Implemented Interfaces:
Callable, EchoService, LogService, UMOEventListener

public class EchoComponent
extends LogComponent
implements EchoService

EchoComponent will log the message and return the payload back as the result.


Constructor Summary
EchoComponent()
           
 
Method Summary
 String echo(String echo)
           
 Object onCall(UMOEventContext context)
          Passes the event to the listener
 
Methods inherited from class org.mule.components.simple.LogComponent
log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EchoComponent

public EchoComponent()
Method Detail

onCall

public Object onCall(UMOEventContext context)
              throws Exception
Description copied from interface: Callable
Passes the event to the listener

Specified by:
onCall in interface Callable
Overrides:
onCall in class LogComponent
Throws:
Exception

echo

public String echo(String echo)
Specified by:
echo in interface EchoService


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