|
||||||||||
| 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 Connector 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 | |
|---|---|
String |
friendlyName
A user-friendly name for this processor. |
String |
name
The xml name of the element that will invoke this source. |
long |
pollingPeriod
Polling period for SourceStrategy.POLLING. |
boolean |
primaryNodeOnly
Does this message source must run on all cluster nodes, or just the primary one? |
SourceStrategy |
sourceStrategy
Message Source Strategy |
SourceThreadingModel |
threadingModel
Threading model |
public abstract String name
public abstract String friendlyName
public abstract boolean primaryNodeOnly
public abstract SourceThreadingModel threadingModel
public abstract SourceStrategy sourceStrategy
public abstract long pollingPeriod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||