On 17/10/2011 16:44, eskomk wrote: > Hi all, > > Does Quartz-Calendar work with Drools 5.1.1 ? > See Drools-expert user guide: > http://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/ch05.html#d0e3921 > > We have configured Drools server as a web service with xml-files > (knowledge-services.xml, camel-server.xml, camel-client.xml, ...) > > If Drools 5.1.1 is Quartz-capable, next question is: > Which is the best way to configure Quartz-scheduler with xml files ? > > I'm not sure whether we can migrate from Drools 5.1.1 to a newer version. Drools provides an adapter for the Quartz interface:
QuartzHelper. public static Calendar quartzCalendarAdapter(org.quartz.Calendar calendar) { return new QuartzCalendarAdapter( calendar ); } So you give this helper an instance of the Quartz calendar and it returns a Calendar instance Drools can understand. Mark > > thanks, > Esko > ----- > Esko Hujanen > www.ebsolut.fi > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Does-Quartz-calendar-work-with-Drools-5-1-1-tp3428578p3428578.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users