| chrisau168@gmail.com 2006-02-27, 7:09 pm |
| Hi,
I am trying to use future to send out emails. The reason why I am using
future is that each email run may consists of thousands of emails and i
may have about anything from 1 to X number of email runs a day.By using
future I set up an email run and it gets taken care of by itself...
the current logic i am using is i set up an email run future inside
this future i will use spring to create the actual email tasks (the
actual emailer) these are threads themselves which i store as a future.
The problem I am having is when i cancel the email run future nothing
actually get cancelled and the actual email tasks continue to run any
help will be appreciated...
when i put debug around the email run future it does that it has been
cancelled.
i am suspecting the problem to be with the actual email task future
instead of the email run future.
Thanks
|