org.mule.tck.testmodels.services
Class TestComponent
java.lang.Object
org.mule.tck.testmodels.services.TestComponent
- All Implemented Interfaces:
- ITestComponent
public class TestComponent
- extends java.lang.Object
- implements ITestComponent
Field Summary |
protected edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger |
count
|
static java.lang.String |
EXCEPTION_MESSAGE
|
protected static Log |
logger
|
Method Summary |
protected int |
inc()
|
java.lang.String |
receive(java.lang.String message)
|
java.lang.String |
receiveBytes(byte[] message)
|
java.lang.String |
throwsException(java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXCEPTION_MESSAGE
public static final java.lang.String EXCEPTION_MESSAGE
- See Also:
- Constant Field Values
logger
protected static final Log logger
count
protected edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger count
TestComponent
public TestComponent()
receive
public java.lang.String receive(java.lang.String message)
throws java.lang.Exception
- Specified by:
receive
in interface ITestComponent
- Throws:
java.lang.Exception
receiveBytes
public java.lang.String receiveBytes(byte[] message)
throws java.lang.Exception
- Throws:
java.lang.Exception
throwsException
public java.lang.String throwsException(java.lang.String message)
throws java.lang.Exception
- Specified by:
throwsException
in interface ITestComponent
- Throws:
java.lang.Exception
inc
protected int inc()
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.