java.util.concurrent.Future;



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

.



Relevant Pages

  • Re: Simon is impersonating me.
    ... TeamB, and by association CG, are to maintain their reputation. ... explanation, and so would have to stay their hand. ... If the reason for concellation is obvious, ... BUT if there IS NO REASON to cancel, ...
    (borland.public.delphi.non-technical)
  • Re: cancelling at play-asia
    ... preparation, you may modify or cancel your order here." ... But it was the main reason I made the order. ... Obviously, the 2 better ones for me were shipped, but that Teacher one looks alright and my daughter is chomping to buy it locally for 50euros...out of her own money of course. ...
    (uk.games.video.misc)
  • Re: Taking the pledge
    ... I have only tried it on my own posts, ... I see no reason it shouldn't work. ... the subject and generate a new cancel msg and send it out. ... Mike Alexander ...
    (rec.aviation.piloting)
  • Re: Undo when move to next record or close form
    ... the next record button, I see it goto the next record, then I get the pop-up, ... There is no reason to keep the form open when they close it, ... any reason, put code in the forms UnLoad event proc, and cancel the On Unload ...
    (microsoft.public.access.modulesdaovba)
  • Re: SUSE 10.0 - the best linux yet
    ... and Kaffeine won't play mpeg for some reason. ... What do you mean swapping the OK and Cancel buttons? ... For Kaffeine, have you downloaded the "full"version from Packman? ...
    (alt.os.linux.suse)