public interface

SourceCallback

org.mule.api.callback.SourceCallback

Class Overview

Callback interface used by Source annotated methods to dispatch messages.

Summary

Public Methods
abstract Object process(Object payload)
Dispatch message to the flow
abstract Object process(Object payload, Map<StringObject> properties)
Dispatch message to the flow with properties

Public Methods

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 Object process (Object payload, Map<StringObject> 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