Name | Default Value | Description |
---|
time
| null
| A java.util.Date the first event should be generated. If using the URI, the pattern expected is: yyyy-MM-dd HH:mm:ss or yyyy-MM-dd'T'HH:mm:ss . |
pattern
| null
| Allows you to specify a custom Date pattern to use for setting the time option using URI syntax. |
period
| 1000
| If greater than 0, generate periodic events every period milliseconds. You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour). |
delay
| 0 / 1000 | The number of milliseconds to wait before the first event is generated. Should not be used in conjunction with the time option. The default value has been changed to 1000 from . You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour). Before Camel 2.11 the default value is 0 From Camel 2.11 onwards. In older releases the default value is 0 .1000
From Camel 2.17 it is possible to specify a negative delay. In this scenario the timer will generate and fire events as soon as possible. |
fixedRate
| false
| Events take place at approximately regular intervals, separated by the specified period. |
daemon
| true
| Specifies whether or not the thread associated with the timer endpoint runs as a daemon. |
repeatCount
| 0
| Camel 2.8: 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. |