[jboss-user] [JBoss Seam] - Call scheduled method from another scheduled method
do-not-reply at jboss.com
Wed Sep 19 08:13:04 EDT 2007
Is it possible to call an asynchronous method from another asynchronous method?
I have this method:
| public QuartzTriggerHandle scheduleSeason(@Expiration Date endDate, Season season)
In that method I want to call these scheduled methods:
| QuartzTriggerHandle expirationHandle = destroyOffer(endDate,offer);
| QuartzTriggerHandle reminderHandle = sendReminder(endDate,offer);
The method heads looks like this:
| public QuartzTriggerHandle sendReminder(@Expiration Date endDate, Subscription winner)
| public QuartzTriggerHandle destroyOffer(@Expiration Date endDate, Subscription winner)
The first method is called as expected but the ones called from that one gets called immediately.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086029#4086029
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086029
More information about the jboss-user