As indicated in the javadoc of JobExecutor all jobs are executed
asychronously. You actually need to use Job#join when you want to
wait.
On Thu, Nov 20, 2014 at 9:38 AM, Stefan Bernsdorf
<gruener.heinrich(a)web.de> wrote:
Hi,
I have seen that the jobManager is deprecated since 6.1.
But how would I schedule a job and return immediately using the jobExecutor?
(Using the jobManager it would be something like :
Job job = jobManager.addJob("jobtype", request))
Thanks , Stefan.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne