1 of 1 people found this helpful
There 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
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