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

public class EchoComponent
extends LogComponent
implements EchoService

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

Version:
$Revision: 1.1.1.1 $
Author:
Ross Mason

Constructor Summary
EchoComponent()
           
 
Method Summary
 java.lang.String echo(java.lang.String echo)
           
 java.lang.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 java.lang.Object onCall(UMOEventContext context)
                        throws java.lang.Exception
Description copied from interface: Callable
Passes the event to the listener

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

echo

public java.lang.String echo(java.lang.String echo)
Specified by:
echo in interface EchoService


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.