-
1. Re: clustered TimerService?
wdfink Jul 18, 2012 8:26 AM (in response to hatchetman82)1 of 1 people found this helpfulThere is an open JIRA AS7-3962 which you can watch and vote for it (more votes might force the implementation)
I write a quickstart how to use the SingletonService and add an example for a Scheduler that is a Clusterwide Singleton, see here.
The code is available via github here https://github.com/wfink/quickstart/tree/cluster-ha-singleton-ejb/cluster-ha-singleton-ejb.
The example works as long as the cluster is stable, a re-join will end in two active Singletons, I'm still investigating.
Quartz is not recommended to use, it is replaced by EJB3 @Schedule
-
2. Re: clustered TimerService?
hatchetman82 Jul 18, 2012 10:59 AM (in response to wdfink)apart from quartz overlapping some core functionality in EJB3, is there any real reason why its not recommended ?
on paper it does clustering and timer expiration distribution, and plays nice with jboss 7 as a RA - http://www.mastertheboss.com/jboss-quartz/quartz-2-tutorial-on-jboss-as-7
my next alternative would be to implement the scheduler as a cluster singleton service that sends messages to a jms queue use jms for work distribution
-
3. Re: clustered TimerService?
pferraro Jul 27, 2012 12:26 PM (in response to wdfink)FYI - the re-join issue is fixed - the pull request has been submitted and is awaiting merging: