org.mule.test.integration.service
Class TestComponent

java.lang.Object
  extended byorg.mule.test.integration.service.TestComponent
All Implemented Interfaces:
ITestComponent

public class TestComponent
extends Object
implements ITestComponent


Field Summary
static String EXCEPTION_MESSAGE
           
 
Constructor Summary
TestComponent()
           
 
Method Summary
protected  int inc()
           
 String receive(String message)
           
 String receiveJms(TextMessage message)
           
 String throwsException(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_MESSAGE

public static final String EXCEPTION_MESSAGE
See Also:
Constant Field Values
Constructor Detail

TestComponent

public TestComponent()
Method Detail

receive

public String receive(String message)
               throws Exception
Specified by:
receive in interface ITestComponent
Throws:
Exception

throwsException

public String throwsException(String message)
                       throws Exception
Specified by:
throwsException in interface ITestComponent
Throws:
Exception

receiveJms

public String receiveJms(TextMessage message)
                  throws Exception
Throws:
Exception

inc

protected int inc()


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.