@Target(value=METHOD) @Retention(value=SOURCE) @Documented public @interface Source
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.
The method must receive a org.mule.api.callback.SourceCallback
as one of its arguments. It does not matter which parameter it is
as long it is there.Modifier and Type | Optional Element and Description |
---|---|
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
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.