This scheduled task is based on the Enterprise Service Bus server tasks, with which we can schedule different artifacts, such as sequences, proxy services, or endpoints. The wizard in the Enterprise Integrator management console is located in the following path:
Main | Manage | Service Bus | Scheduled Tasks:
We have three different ways of scheduling a task in the Enterprise Integrator server:
- Specifying the delay between executions in the interval attribute and, optionally, the number of times that it should be executed in the count attribute:
<task name="IntervalTask" class="org.apache.synapse.startup.tasks.MessageInjector"> <trigger interval="3" count="5"/> </task>
This task will be executed 5 times every 3 seconds .
- Using a cron expression:
<task name="CronTask"...