public class ResponseMessageProcessorAdapter extends AbstractRequestResponseMessageProcessor implements Lifecycle, FlowConstructAware
| Modifier and Type | Field and Description |
|---|---|
protected FlowConstruct |
flowConstruct |
protected MessageProcessor |
responseProcessor |
logger, muleContext, next, notificationHandlerPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAMEPROPERTY_NAME| Constructor and Description |
|---|
ResponseMessageProcessorAdapter() |
ResponseMessageProcessorAdapter(MessageProcessor responseProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
void |
initialise()
Method used to perform any initialisation work.
|
protected MuleEvent |
processResponse(MuleEvent event)
Processes the response phase after the next message processor and it's response phase have been invoked
|
void |
setFlowConstruct(FlowConstruct flowConstruct) |
void |
setProcessor(MessageProcessor processor) |
void |
start() |
void |
stop() |
createReplyToHandler, process, processBlocking, processFinally, processNonBlocking, processRequestaddMessageProcessorPathElements, getListener, getMuleContext, isEventValid, processNext, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenerprotected MessageProcessor responseProcessor
protected FlowConstruct flowConstruct
public ResponseMessageProcessorAdapter()
public ResponseMessageProcessorAdapter(MessageProcessor responseProcessor)
public void setProcessor(MessageProcessor processor)
protected MuleEvent processResponse(MuleEvent event) throws MuleException
AbstractRequestResponseMessageProcessorprocessResponse in class AbstractRequestResponseMessageProcessorevent - event to be processed.MuleException - exception thrown by implementations of this method whiile performing response processingpublic void initialise()
throws InitialisationException
InitialisableInitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise in interface InitialisableInitialisationException - if a fatal error occurs causing the Mule instance to shutdownRecoverableException - if an error occurs that can be recovered frompublic void start()
throws MuleException
start in interface StartableMuleExceptionpublic void stop()
throws MuleException
stop in interface StoppableMuleExceptionpublic void dispose()
Disposabledispose in interface Disposablepublic void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct in interface FlowConstructAwareCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.