org.mule.security.oauth.processor
Class AbstractListeningMessageProcessor
java.lang.Object
org.mule.devkit.processor.ExpressionEvaluatorSupport
org.mule.devkit.processor.DevkitBasedMessageProcessor
org.mule.security.oauth.processor.AbstractListeningMessageProcessor
- All Implemented Interfaces:
- SourceCallback, FlowConstructAware, MuleContextAware, Disposable, Initialisable, Startable, Stoppable, MessageProcessorContainer
public abstract class AbstractListeningMessageProcessor
- extends DevkitBasedMessageProcessor
- implements SourceCallback, MessageProcessorContainer
| Methods inherited from class org.mule.devkit.processor.DevkitBasedMessageProcessor |
dispose, findOrCreate, getAccessTokenId, getFlowConstruct, getMuleContext, initialise, overwritePayload, process, setAccessTokenId, setFlowConstruct, setModuleObject, setMuleContext, start, stop |
| Methods inherited from class org.mule.devkit.processor.ExpressionEvaluatorSupport |
computeClassHierarchy, evaluate, evaluateAndTransform, evaluateAndTransform, getAccessTokenId, isAssignableFrom, isList, isListClass, isMap, isMapClass, transform, transform, transform |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractListeningMessageProcessor
public AbstractListeningMessageProcessor(String operationName)
getMessageProcessor
public MessageProcessor getMessageProcessor()
- Retrieves messageProcessor
setListener
public void setListener(MessageProcessor listener)
- Sets the message processor that will "listen" the events generated by this
message source
- Parameters:
listener - Message processor
process
public Object process(Object message)
throws Exception
- Implements
SourceCallback.process(Object). This
message source will be passed on to the actual pojo's method as a callback
mechanism.
- Specified by:
process in interface SourceCallback
- Parameters:
message - The payload of the message
- Returns:
- The response of the flow
- Throws:
Exception
process
public Object process(Object message,
Map<String,Object> properties)
throws Exception
- Implements
SourceCallback.process(Object). This
message source will be passed on to the actual pojo's method as a callback
mechanism.
- Specified by:
process in interface SourceCallback
- Parameters:
message - The payload of the messageproperties - Properties to be attached with inbound scope
- Returns:
- The response of the flow
- Throws:
Exception
process
public Object process()
throws Exception
- Implements
SourceCallback.process(). This message source will be
passed on to the actual pojo's method as a callback mechanism.
- Specified by:
process in interface SourceCallback
- Returns:
- The response of the flow
- Throws:
Exception
processEvent
public MuleEvent processEvent(MuleEvent event)
throws MuleException
- Implements
SourceCallback.processEvent(org.mule.api.MuleEvent). This
message source will be passed on to the actual pojo's method as a callback
mechanism.
- Specified by:
processEvent in interface SourceCallback
- Returns:
- The response of the flow
- Throws:
MuleException
doProcess
protected MuleEvent doProcess(MuleEvent event)
throws Exception
- Not valid for this class or its extensions
- Specified by:
doProcess in class DevkitBasedMessageProcessor
- Parameters:
event - the mule event
- Returns:
- a mule event
- Throws:
UnsupportedOperationException
Exception
addMessageProcessorPathElements
public void addMessageProcessorPathElements(MessageProcessorPathElement pathElement)
- Specified by:
addMessageProcessorPathElements in interface MessageProcessorContainer
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.