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 Details

    • withBackPressureMode

      SourceParameterizer withBackPressureMode(BackPressureMode backPressureMode)
      Sets the BackPressureMode for the source
      Parameters:
      backPressureMode - the back pressure mode
      Returns:
      this instance
    • withFixedSchedulingStrategy

      SourceParameterizer withFixedSchedulingStrategy(long frequency, TimeUnit timeUnit, long startDelay)
      Specifies a fixed frequency scheduling strategy. Only invoke for polling based sources which specify a scheduling strategy parameter.
      Parameters:
      frequency - the executing frequency
      timeUnit - the frequency TimeUnit
      startDelay - the start delay
      Returns:
      this instance
    • withCronSchedulingStrategy

      SourceParameterizer withCronSchedulingStrategy(String expression, String timeZone)
      Specifies a cron expression scheduling strategy. Only invoke for polling based sources which specify a scheduling strategy parameter.
      Parameters:
      expression - the cron expression
      timeZone - the cron timezone
      Returns:
      this instance