This content has been marked as final.
Show 3 replies
-
1. Re: Ejb 3s and scheduling with cron expression.
wolfc Jun 15, 2007 12:01 PM (in response to paradigmza)This is the inflowmdb unit test:
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName="cronTrigger", propertyValue="0/2 * * * * ?") }) @ResourceAdapter("quartz-ra.rar") public class QuartzMDBBean implements Job { private static final Logger log = Logger.getLogger(QuartzMDBBean.class); public static boolean called = false; public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { log.info("************** here!!!!"); called = true; } }
-
2. Re: Ejb 3s and scheduling with cron expression.
paradigmza Jun 18, 2007 3:03 AM (in response to paradigmza)Thanks, this is perfect.
Where can I find the documentation for this? -
3. Re: Ejb 3s and scheduling with cron expression.
marilenc Jul 10, 2007 6:58 AM (in response to paradigmza)I was also searching for documentation on this topic especially on how to externalize the adnotations to the ejb-jar.xml and created a small article here: http://www.len.ro/work/articles/jboss/creating-a-quartz-job hope it helps.