public class TestServiceComponent extends FunctionalTestComponent implements EchoService, DateService, PeopleService, org.mule.runtime.api.lifecycle.Disposable
TestServiceComponent is a test WebServices service.FunctionalTestComponent.LifecycleCallbacklogger, STREAM_BUFFER_SIZE, STREAM_SAMPLE_SIZE| 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, setFlowConstruct, setId, setLogMessageDetails, setMuleContext, setReturnData, setThrowException, setWaitTime, start, stop, throwExceptionpublic String echo(String echo)
echo in interface EchoServicepublic String getDate()
getDate in interface DateServicepublic Person getPerson(String firstName)
getPerson in interface PeopleServicepublic Person[] getPeople()
getPeople in interface PeopleServicepublic void addPerson(Person person) throws Exception
addPerson in interface PeopleServiceExceptionpublic Person addPerson(String firstname, String surname) throws Exception
addPerson in interface PeopleServiceExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposabledispose in class FunctionalTestComponentCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.