I am currently using Quartz Scheduler for asynchronous tasks, such as sending email when an exception occurs, sending email from the web interface, or periodically analyzing traffic.
Should I use message queue to send email? Is it more efficient or right to do it this way? The planner approach works very well.
If I use the queue and I cannot send the email, is it possible that the queue will retry sending the email later? The approach to the queue looks simpler than the scheduler for tasks that should be executed immediately, but for the tasks of the scheduler, the scheduler is still there if there are more queues than I know.
I haven't used JMS yet, so this is what I read.
Walter
java quartz-scheduler message-queue
Walter white
source share