public interface

SourceCallback

org.mule.modules.janrain.callback.SourceCallback

Class Overview

Callback interface used by org.mule.api.annotations.Source annotated methods to dispatch messages.

Summary

Public Methods
abstract Object process(Object payload, Map<String, Object> properties)
Dispatch message to the flow with properties
abstract Object process()
Dispatch the current event to the flow
abstract Object process(Object payload)
Dispatch message to the flow
abstract MuleEvent processEvent(MuleEvent event)
Dispatch the current event to the flow

Public Methods

public abstract Object process (Object payload, Map<String, Object> properties)

Dispatch message to the flow with properties

Parameters
payload The payload of the message
properties Properties to be attached with inbound scope
Returns
  • The response of the flow
Throws
Exception

public abstract Object process ()

Dispatch the current event to the flow

Returns
  • The response of the flow
Throws
Exception

public abstract Object process (Object payload)

Dispatch message to the flow

Parameters
payload The payload of the message
Returns
  • The response of the flow
Throws
Exception

public abstract MuleEvent processEvent (MuleEvent event)

Dispatch the current event to the flow

Parameters
event
Returns
  • The response of the flow
Throws
MuleException