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.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods 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. This information is default included. The option is a: <code>boolean</code> type. Default: true 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. This information is default included. The option will be converted to a <code>boolean</code> type. Default: true 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
-