The Quartz2 component offers an option to let the Quartz scheduler be started delayed, or not auto started at all.
Parameter |
Default |
Type |
Description |
---|---|---|---|
|
|
|
Seconds to wait before starting the quartz scheduler. |
|
|
|
Whether or not the scheduler should be auto started. |
To do this you can configure this in Spring XML as follows
<bean id="quartz2" class="org.apache.camel.component.quartz2.QuartzComponent"> <property name="startDelayedSeconds" value="5"/> </bean>