Managing jobs and asynchronous commands' execution

Starting from jBPM 6, the platform features a new scheduler service (called Executor), which lets you schedule, execute, and manage asynchronous jobs tasks. Executor can be used either as a general-purpose Java batch scheduling facility or as a service able to execute asynchronous process tasks (see Chapter 5, BPMN constructs, the Async task section for more details). The asset management feature, for instance, internally schedules different types of commands (to get an idea, open the Deploy | Jobs window, as shown in the following screenshot): CreateBranchCommand, ListCommitsCommand, BuildProjectCommand, MavenDeployProjectCommand, and so on.

The Executor service executes preconfigured Command ...

Get Mastering jBPM6 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.