Endpoints
Endpoints help you to trigger a Mule event to start the execution of a Mule flow. They are present in the message source part of the Mule flow.
Let us learn more about one of the endpoints in the Mule palette, Scheduler.
A Scheduler
A Scheduler component is one of the components that can act as a trigger to start a Mule event.
You can use a Scheduler component when you want to poll or synchronize data from Salesforce or any other end system, poll change data capture events (CDC events), or enable watermarking.
You can schedule an event based on two scheduling strategies:
- Fixed frequency: You can set a fixed frequency, defining the regular interval at which you want your Mule event to be triggered.
In Figure 4.20, we’ve configured the frequency to every 1000
milliseconds. We have other unit options, such as minutes, seconds, and so on, under Time unit:
Figure 4.20 – A Fixed Frequency scheduler in Anypoint...