For Programmers: Free Programming Magazines  


Home > Archive > Java Help > February 2006 > java.util.concurrent.Future;









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author java.util.concurrent.Future;
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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com