Quartz is an open source job scheduling framework that allows scheduling tasks to run at predefined dates and times. The document provides an example of using Quartz in a Mule application to trigger a flow every 10 seconds that logs a message. Benefits of Quartz include running embedded in applications, within application servers, as a standalone program, or clustered for load balancing and failover.
7. • Flow of execution:
1. Service will trigger for every 10sec
2. Service will display a message called ‘Hello
world’
8. Benefits
• Quartz can run embedded within another free
standing application
• Quartz can be instantiated within an application
server (or servlet container), and participate in XA
transactions
• Quartz can run as a stand-alone program (within
its own Java Virtual Machine), to be used via RMI
• Quartz can be instantiated as a cluster of stand-
alone programs (with load-balance and fail-over
capabilities) for the execution of jobs