Best Practices for Quartz Scheduler : Listeners Tips (TriggerListener, JobListener, SchedulerListener
Listeners Tips (TriggerListener, JobListener, SchedulerListener
Keep Listener Code Concise And Efficient
Performing large amounts of work is discouraged, as the thread that would be executing the job (or completing the trigger and moving on to firing another job) will be tied up within the listener.
Handle Exceptions
Every listener method should contain a try-catch block that handles all possible exceptions.
If a listener throws an exception, it may cause other listeners not to be notified and/or prevent the execution of the job.
Copyright © 2010-2016 Software AG, Darmstadt, Germany.

Product Logo |   Feedback