Class BpmnJobActivationBehavior

java.lang.Object
io.camunda.zeebe.engine.processing.bpmn.behavior.BpmnJobActivationBehavior

public class BpmnJobActivationBehavior extends Object
A behavior class which allows processors to activate a job. Use this anywhere a job should become activated and processed by a job worker. This behavior class will either push a job on a JobStreamer.JobStream or notify job workers that a job of a given type is available for processing. If a JobStream/code> is available for a job with a given type, the job will be pushed on the JobStream/code>. If no JobStream/code> is available for the given job type, a notification is used. Both the job push and the job worker notification are executed through a SideEffectProducer.
  • Constructor Details

  • Method Details

    • publishWork

      public void publishWork(long jobKey, JobRecord jobRecord)
    • notifyJobAvailableAsSideEffect

      public void notifyJobAvailableAsSideEffect(JobRecord jobRecord)