Annotation Type ZeebeWorker


@Target(METHOD) @Retention(RUNTIME) @Documented @Deprecated public @interface ZeebeWorker
Deprecated.
  • Element Details

    • type

      String type
      Deprecated.
      Default:
      ""
    • name

      String name
      Deprecated.
      Default:
      ""
    • timeout

      long timeout
      Deprecated.
      Default:
      -1L
    • maxJobsActive

      int maxJobsActive
      Deprecated.
      Default:
      -1
    • requestTimeout

      long requestTimeout
      Deprecated.
      Default:
      -1L
    • pollInterval

      long pollInterval
      Deprecated.
      Default:
      -1L
    • fetchVariables

      String[] fetchVariables
      Deprecated.
      Default:
      {}
    • forceFetchAllVariables

      boolean forceFetchAllVariables
      Deprecated.
      Set to true, all variables are fetched independent of any other configuration via fetchVariables or @ZeebeVariable.
      Default:
      false
    • autoComplete

      boolean autoComplete
      Deprecated.
      If set to true, the job is automatically completed after the worker code has finished. In this case, your worker code is not allowed to complete the job itself.

      You can still throw exceptions if you want to raise a problem instead of job completion. You could also raise a BPMN problem throwing a io.camunda.zeebe.spring.client.exception.ZeebeBpmnError

      Default:
      false
    • enabled

      boolean enabled
      Deprecated.
      Default:
      true