Hi,
There was a change in the requirements so instead of having to interrupt the execution I
had to generate an alert (send an email notifying an operator of the delay in the
execution).
I associated a timer to the execution of the actions, and injected the implementation of
the alert/notification. I used java.util.Timer and the Timer.schedule method.
Right now I am sending an email notifying the delay in the execution, but I guess that
if the requirements change once again I could create a new implementation and inject it
instead of the email alert.
Ronald, I think my solution is similar to what you were suggesting with the exception
that my timer is associated to the task but in your case it seems to me it would be
independent. Is that correct ?
If so... how would you link the timer with the execution of the action ?
Regards.
Jose.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220974#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...