As explained in the previous sections, the Image Resize Request Producer is supposed to run on schedule so that the Image Resize Request Consumers can do the actual work of resizing. In order to achieve this, Quartz Scheduler is used.
Using Quartz for scheduling
Understanding Quartz
Quartz is a fully open source, high-performing scheduling framework that can be easily integrated with Java applications of any sort. Quartz can be used to schedule simple as well as complex jobs, which may be scaled to hundreds if not thousands of jobs. The specialty of Quartz is that it also supports enterprise-level features, such as transactional jobs and clustering.