Im having a hard time getting this to work, I've tried both with the Karaf scheduler (blueprint) and the Sling scheduler (declarative services) but none of them seems to pickup the jobs. Im using karaf 3.0.4 since I cant get 4.0 to work with pax exam.
I've been looking in source files of https://github.com/apache/karaf/tree/master/scheduler/src/main but no tests are available. My bundle does boot up but are never scheduled. My job are here: https://paste.apache.org/1dQi Blueprint: https://paste.apache.org/mmTV Pax exam test: https://paste.apache.org/gsaN Any pointers are very much apreciated.. On Thu, Apr 23, 2015 at 10:39 PM, Achim Nierbeck <[email protected]> wrote: > Ok, because of Decanter I did take a look at the current scheduler embedded > in Karaf. > It's much more sophisticated then I previously thought. > > First it's already Quarz based, second if you install it via the scheduler > feature you have commands to > 1/ list > 2/ schedule > 3/ unschedule > > Programmatically one can add a new scheduler via a Service > (whiteboard-pattern) > > regards, Achim > > 2015-04-23 8:40 GMT+02:00 Achim Nierbeck <[email protected]>: >> >> yeah, a big +1 on the release :-) >> >> >> regards, Achim >> >> 2015-04-23 8:06 GMT+02:00 Jean-Baptiste Onofré <[email protected]>: >>> >>> Yup, it would be great ;) >>> >>> Regards >>> JB >>> >>> >>> On 04/23/2015 07:56 AM, Oliver Lietz wrote: >>>> >>>> On Thursday 23 April 2015 07:36:02 Jean-Baptiste Onofré wrote: >>>>> >>>>> By included, I thought about just refering Sling feature XML in >>>>> etc/org.apache.karaf.features.repo.cfg (as we do for other projects >>>>> like >>>>> Camel, ActiveMQ, Cellar, etc). >>>>> In the Decanter feature XML, we can add <repository/> tag to Sling >>>>> feature XML. >>>> >>>> >>>> Then we only need a release, fine. >>>> >>>> Regards, >>>> O. >>>> >>>>> Regards >>>>> JB >>>>> >>>>> On 04/23/2015 07:22 AM, Oliver Lietz wrote: >>>>>> >>>>>> On Wednesday 22 April 2015 18:07:23 Jean-Baptiste Onofré wrote: >>>>>>> >>>>>>> Good point, I think so. That's why it would make sense to provide >>>>>>> sling >>>>>>> feature repo in Karaf. >>>>>> >>>>>> >>>>>> ak, ok - included in Karaf. What options do we have? Copying the file, >>>>>> copying the feature, Maven dependency, moving from Sling to Karaf... >>>>>> what >>>>>> else? >>>>>> >>>>>> O. >>>>>> >>>>>>> Regards >>>>>>> JB >>>>>>> >>>>>>> On 04/22/2015 03:06 PM, Achim Nierbeck wrote: >>>>>>>> >>>>>>>> nice, >>>>>>>> >>>>>>>> @JB, do you think that scheduler can be used for Decanter? >>>>>>>> >>>>>>>> regards, Achim >>>> >>>> >>> >>> -- >>> Jean-Baptiste Onofré >>> [email protected] >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >> >> >> >> >> -- >> >> Apache Member >> Apache Karaf <http://karaf.apache.org/> Committer & PMC >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & >> Project Lead >> blog <http://notizblog.nierbeck.de/> >> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >> >> Software Architect / Project Manager / Scrum Master >> > > > > -- > > Apache Member > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > Software Architect / Project Manager / Scrum Master > -- Best regards / Med venlig hilsen Nino Martinez
