Stefan Egli created SLING-10181:
-----------------------------------
Summary: fix docu example
Key: SLING-10181
URL: https://issues.apache.org/jira/browse/SLING-10181
Project: Sling
Issue Type: Task
Components: Event
Reporter: Stefan Egli
https://sling.apache.org/documentation/bundles/apache-sling-eventing-and-job-handling.html#jobs-guarantee-of-processing
mentions
{noformat}
ScheduleBuilder scheduleBuilder =
jobManager.startJob("my/special/jobtopic").schedule();
{noformat}
but that seems to be from an oldish API and should rather be something like
{noformat}
ScheduleBuilder scheduleBuilder =
jobManager.createJob("my/special/jobtopic").schedule();
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)