Annotation Type Cmmn


@Target({FIELD,METHOD,PARAMETER,TYPE,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
@Qualifier
public @interface Cmmn
Qualifier annotation for a CMMN beans that need to be injected for CMMN Configurations.

This can be used when one wants to provide a dedicated TaskExecutor or SpringRejectedJobsHandler for the Cmmn SpringAsyncExecutor. IMPORTANT: When using this for the TaskExecutor or the RejectedJobsHandler, one needs to define a @Primary bean as well, otherwise the Process Engine would use the one from the CMMN as well.

Author:
Filip Hrisafov