-
Jun 22nd, 2011, 05:03 AM
#1
email duplicate when application runs in two different servers
Hi everybody, i have a problem related to send an email with spring.
I have the same application running in two differents servers (Tomcat 6). Every day at 23:55, both applications send an email to my and boss account.
The problem, unfortunately is the mail arrives two times, because i cannot manage the fact that the request arrives at the same time, and obviously it's an undesired situation.
I'm using and SchedulerFactoryBean with a CronTriggerBean.
My question is if exist a mechanism with spring i could use to handle this issue. I was thinking that Clustered Scheduling with Spring and Quartz could works fine. But it's just an idea, could you give an idea.
Thanks.
Federico.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules