[jboss-user] [EJB 3.0] - Re: Ejb 3s and scheduling with cron expression.
wolfc
do-not-reply at jboss.com
Fri Jun 15 12:01:17 EDT 2007
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;
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054823#4054823
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054823
More information about the jboss-user
mailing list