Hi Tommaso, JobExecutor has recently replaced JobConsumer while support for progress tracking was introduced. AFAIK JobConsumer should have been deprecated already. I guess the documentation was not yet updated accordingly.
Ciao, Victor. On 15.11.13 14:39, "Tommaso Teofili" <[email protected]> wrote: >Hi all, > >while working with Sling Event I noticed there's a somewhat similar API >for >consuming a Job defined in JobConsumer and JobExecutor. >The API and javadoc for them are quite similar except that the executor >also gets an ExecutorContext while executing the Job. > >Is there any guideline about which one is better suitable for what >scenario >and / or if one should just use one instead of the other in general? > >Thanks in advance for your help, >Regards, >Tommaso > >[1] : >http://sling.apache.org/documentation/the-sling-engine/eventing-and-jobs.h >tml >[2] : >http://sling.apache.org/documentation/bundles/apache-sling-eventing-and-jo >b-handling.html
