org.mule.tck.functional
Class ResponseWriterCallback
java.lang.Object
org.mule.tck.functional.CounterCallback
org.mule.tck.functional.ResponseWriterCallback
- All Implemented Interfaces:
- EventCallback
public class ResponseWriterCallback
- extends CounterCallback
A test callback that writes the results of a service invocation to the response output stream
of the event
This should only be used when testing Asynchronous calls with the FunctionalTestComponent
otherwise
you will get duplicate messages, since both this class and the FunctionalTestComponent
will write
a return message back to the callee.
- See Also:
FunctionalTestComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseWriterCallback
public ResponseWriterCallback()
eventReceived
public void eventReceived(MuleEventContext context,
Object component)
throws Exception
- Specified by:
eventReceived
in interface EventCallback
- Overrides:
eventReceived
in class CounterCallback
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.