public class TestServiceComponent extends FunctionalTestComponent implements EchoService, DateService, PeopleService, Disposable
TestServiceComponent
is a test WebServices service.FunctionalTestComponent.LifecycleCallback
logger, STREAM_BUFFER_SIZE, STREAM_SAMPLE_SIZE
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
TestServiceComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addPerson(Person person) |
Person |
addPerson(String firstname,
String surname) |
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
String |
echo(String echo) |
String |
getDate() |
Person[] |
getPeople() |
Person |
getPerson(String firstName) |
addLifecycleCallback, append, getAppendString, getEventCallback, getExceptionText, getExceptionToThrow, getLastReceivedMessage, getReceivedMessage, getReceivedMessagesCount, getReturnData, getWaitTime, initialise, isDoInboundTransform, isEnableMessageHistory, isEnableNotifications, isLogMessageDetails, isThrowException, onCall, onReceive, process, removeLifecycleCallback, setAppendString, setDoInboundTransform, setEnableMessageHistory, setEnableNotifications, setEventCallback, setExceptionText, setExceptionToThrow, setId, setLogMessageDetails, setMuleContext, setReturnData, setThrowException, setWaitTime, start, stop, throwException
public String echo(String echo)
echo
in interface EchoService
public String getDate()
getDate
in interface DateService
public Person getPerson(String firstName)
getPerson
in interface PeopleService
public Person[] getPeople()
getPeople
in interface PeopleService
public void addPerson(Person person) throws Exception
addPerson
in interface PeopleService
Exception
public Person addPerson(String firstname, String surname) throws Exception
addPerson
in interface PeopleService
Exception
public void dispose()
dispose
in interface Disposable
dispose
in class FunctionalTestComponent
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.