-
1. Re: Simple-Scheduler
h.wolffenbuttel Nov 19, 2009 4:31 AM (in response to swhytefamc)Hi,
I have been looking at the code of ESB 4.6 and did see code for the frequencyUnits, but also that the ScheduleProvider is deprecated. So it could be that the SheduleResource is used. If so, it uses the quarts.properties rather than your configuration.
Not sure if this is the case, but it could be an explenation.
Regards,
Hans -
2. Re: Simple-Scheduler
tomeicher Nov 19, 2009 12:51 PM (in response to swhytefamc)Hi,
I don't know what you're intending, but using
<scheduled-listener name="myAltertingListener"
schedule-frequency="300"
event-processor="xxx.xxx.MyListener">
where MyListener is a ScheduledEventMessageComposer works as advertised.
Doing MyListener as a ScheduledEventListener works as well, but see my post
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266152#4266152
where I had to create a dummy "do nothing" pipeline action for that...
Cheers, Tom. -
3. Re: Simple-Scheduler
swhytefamc Nov 19, 2009 3:00 PM (in response to swhytefamc)I got it to work, I just needed to add scheduling to the scheduled-listener and now it works fine.
<scheduled-listener
event-processor="com.test.esb.listeners.workflow.WorkScheduledEventComposer" name="WorkSchedulerEventHandler" poll-frequency-seconds="300"
scheduleidref="workflow-trigger" transacted="true"/>
Thanks for the replies