public abstract class AbstractListeningMessageProcessor extends DevkitBasedMessageProcessor implements SourceCallback, MessageProcessorContainer
flowConstruct, moduleObject, muleContextPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
AbstractListeningMessageProcessor(String operationName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageProcessorPathElements(MessageProcessorPathElement pathElement) |
protected MuleEvent |
doProcess(MuleEvent event)
Not valid for this class or its extensions
|
MessageProcessor |
getMessageProcessor()
Retrieves messageProcessor
|
Object |
process()
Implements
SourceCallback.process(). |
Object |
process(Object message)
Implements
SourceCallback.process(Object). |
Object |
process(Object message,
Map<String,Object> properties)
Implements
SourceCallback.process(Object). |
MuleEvent |
processEvent(MuleEvent event)
|
void |
setListener(MessageProcessor listener)
Sets the message processor that will "listen" the events generated by this
message source
|
dispose, findOrCreate, getAccessTokenId, getFlowConstruct, getMuleContext, initialise, overwritePayload, process, setAccessTokenId, setFlowConstruct, setModuleObject, setMuleContext, start, stopcomputeClassHierarchy, evaluate, evaluateAndTransform, evaluateAndTransform, getAccessTokenId, isAssignableFrom, isList, isListClass, isMap, isMapClass, transform, transform, transformpublic AbstractListeningMessageProcessor(String operationName)
public MessageProcessor getMessageProcessor()
public void setListener(MessageProcessor listener)
listener - Message processorpublic Object process(Object message) throws Exception
SourceCallback.process(Object). This
message source will be passed on to the actual pojo's method as a callback
mechanism.process in interface SourceCallbackmessage - The payload of the messageExceptionpublic Object process(Object message, Map<String,Object> properties) throws Exception
SourceCallback.process(Object). This
message source will be passed on to the actual pojo's method as a callback
mechanism.process in interface SourceCallbackmessage - The payload of the messageproperties - Properties to be attached with inbound scopeExceptionpublic Object process() throws Exception
SourceCallback.process(). This message source will be
passed on to the actual pojo's method as a callback mechanism.process in interface SourceCallbackExceptionpublic MuleEvent processEvent(MuleEvent event) throws MuleException
SourceCallback.processEvent(org.mule.api.MuleEvent). This
message source will be passed on to the actual pojo's method as a callback
mechanism.processEvent in interface SourceCallbackMuleExceptionprotected MuleEvent doProcess(MuleEvent event) throws Exception
doProcess in class DevkitBasedMessageProcessorevent - the mule eventUnsupportedOperationExceptionExceptionpublic void addMessageProcessorPathElements(MessageProcessorPathElement pathElement)
addMessageProcessorPathElements in interface MessageProcessorContainerCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.