Interface TimerEndpointBuilderFactory.TimerEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- Enclosing interface:
TimerEndpointBuilderFactory
public static interface TimerEndpointBuilderFactory.TimerEndpointBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint for the Timer component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()delay(long delay) Delay before first event is triggered.Delay before first event is triggered.fixedRate(boolean fixedRate) Events take place at approximately regular intervals, separated by the specified period.Events take place at approximately regular intervals, separated by the specified period.includeMetadata(boolean includeMetadata) Whether to include metadata in the exchange such as fired time, timer name, timer count etc.includeMetadata(String includeMetadata) Whether to include metadata in the exchange such as fired time, timer name, timer count etc.period(long period) If greater than 0, generate periodic events every period.If greater than 0, generate periodic events every period.repeatCount(long repeatCount) Specifies a maximum limit of number of fires.repeatCount(String repeatCount) Specifies a maximum limit of number of fires.runLoggingLevel(String runLoggingLevel) The consumer logs a start/complete log line when it polls.runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel) The consumer logs a start/complete log line when it polls.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
delay
Delay before first event is triggered. The option is a: <code>long</code> type. Default: 1000 Group: consumer- Parameters:
delay- the value to set- Returns:
- the dsl builder
-
delay
Delay before first event is triggered. The option will be converted to a <code>long</code> type. Default: 1000 Group: consumer- Parameters:
delay- the value to set- Returns:
- the dsl builder
-
fixedRate
Events take place at approximately regular intervals, separated by the specified period. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
fixedRate- the value to set- Returns:
- the dsl builder
-
fixedRate
Events take place at approximately regular intervals, separated by the specified period. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
fixedRate- the value to set- Returns:
- the dsl builder
-
includeMetadata
Whether to include metadata in the exchange such as fired time, timer name, timer count etc. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
includeMetadata- the value to set- Returns:
- the dsl builder
-
includeMetadata
Whether to include metadata in the exchange such as fired time, timer name, timer count etc. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
includeMetadata- the value to set- Returns:
- the dsl builder
-
period
If greater than 0, generate periodic events every period. The option is a: <code>long</code> type. Default: 1000 Group: consumer- Parameters:
period- the value to set- Returns:
- the dsl builder
-
period
If greater than 0, generate periodic events every period. The option will be converted to a <code>long</code> type. Default: 1000 Group: consumer- Parameters:
period- the value to set- Returns:
- the dsl builder
-
repeatCount
Specifies a maximum limit of number of fires. So if you set it to 1, the timer will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option is a: <code>long</code> type. Group: consumer- Parameters:
repeatCount- the value to set- Returns:
- the dsl builder
-
repeatCount
Specifies a maximum limit of number of fires. So if you set it to 1, the timer will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option will be converted to a <code>long</code> type. Group: consumer- Parameters:
repeatCount- the value to set- Returns:
- the dsl builder
-
runLoggingLevel
default TimerEndpointBuilderFactory.TimerEndpointBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel) The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. The option is a: <code>org.apache.camel.LoggingLevel</code> type. Default: TRACE Group: scheduler- Parameters:
runLoggingLevel- the value to set- Returns:
- the dsl builder
-
runLoggingLevel
The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. The option will be converted to a <code>org.apache.camel.LoggingLevel</code> type. Default: TRACE Group: scheduler- Parameters:
runLoggingLevel- the value to set- Returns:
- the dsl builder
-