public interface SourceCallback
Modifier and Type | Method and Description |
---|---|
Object |
process()
Dispatch the current event to the flow
|
Object |
process(Object payload)
Dispatch message to the flow
|
Object |
process(Object payload,
Map<String,Object> properties)
Dispatch message to the flow with properties
|
MuleEvent |
processEvent(MuleEvent event)
Dispatch the current event to the flow
|
Object process() throws Exception
Exception
Object process(Object payload) throws Exception
payload
- The payload of the messageException
Object process(Object payload, Map<String,Object> properties) throws Exception
payload
- The payload of the messageproperties
- Properties to be attached with inbound scopeException
MuleEvent processEvent(MuleEvent event) throws MuleException
MuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.