Interface SourceParameterizer
- All Superinterfaces:
ComponentParameterizer<SourceParameterizer>,Parameterizer<SourceParameterizer>
@Experimental
@MinMuleVersion("4.5.0")
public interface SourceParameterizer
extends ComponentParameterizer<SourceParameterizer>
Parameterizes a source created through the
ExtensionsClient
NOTE: Experimental feature. Backwards compatibility not guaranteed.
- Since:
- 1.5.0
-
Method Summary
Modifier and TypeMethodDescriptionwithBackPressureMode(BackPressureMode backPressureMode) Sets theBackPressureModefor the sourcewithCronSchedulingStrategy(String expression, String timeZone) Specifies a cron expression scheduling strategy.withFixedSchedulingStrategy(long frequency, TimeUnit timeUnit, long startDelay) Specifies a fixed frequency scheduling strategy.Methods inherited from interface org.mule.runtime.extension.api.client.params.ComponentParameterizer
reconnectingForever, withConfigRef, withDefaultRepeatableIterables, withDefaultRepeatableStreaming, withFileStoreRepeatableIterables, withFileStoreRepeatableStreaming, withInMemoryRepeatableIterables, withInMemoryRepeatableStreaming, withSimpleReconnectionMethods inherited from interface org.mule.runtime.extension.api.client.params.Parameterizer
withParameter, withParameter
-
Method Details
-
withBackPressureMode
Sets theBackPressureModefor the source- Parameters:
backPressureMode- the back pressure mode- Returns:
thisinstance
-
withFixedSchedulingStrategy
Specifies a fixed frequency scheduling strategy. Only invoke for polling based sources which specify a scheduling strategy parameter.- Parameters:
frequency- the executing frequencytimeUnit- thefrequencyTimeUnitstartDelay- the start delay- Returns:
thisinstance
-
withCronSchedulingStrategy
Specifies a cron expression scheduling strategy. Only invoke for polling based sources which specify a scheduling strategy parameter.- Parameters:
expression- the cron expressiontimeZone- the cron timezone- Returns:
thisinstance
-