|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=SOURCE) @Documented public @interface Source
This annotation marks a method inside a Module as a callable from within a Mule flow and capable of
generating Mule events. Each marked method will have a org.mule.api.source.MessageSource generated.
org.mule.api.callback.SourceCallback as one of its arguments. It does not matter which parameter it is
as long it is there.
| Optional Element Summary | |
|---|---|
org.mule.MessageExchangePattern |
exchangePattern
Message exchange pattern |
String |
friendlyName
A user-friendly name for this processor. |
String |
name
The xml name of the element that will invoke this source. |
boolean |
primaryNodeOnly
Does this message source must run on all cluster nodes, or just the primary one? |
SourceThreadingModel |
threadingModel
Threading model |
public abstract String name
public abstract String friendlyName
public abstract boolean primaryNodeOnly
public abstract SourceThreadingModel threadingModel
public abstract org.mule.MessageExchangePattern exchangePattern
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||