Annotation Type ZeebeWorker
Deprecated.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDeprecated.If set to true, the job is automatically completed after the worker code has finished.booleanDeprecated.String[]Deprecated.booleanDeprecated.Set to true, all variables are fetched independent of any other configuration via fetchVariables or @ZeebeVariable.intDeprecated.Deprecated.longDeprecated.longDeprecated.longDeprecated.Deprecated.
-
Element Details
-
type
String typeDeprecated.- Default:
- ""
-
name
String nameDeprecated.- Default:
- ""
-
timeout
long timeoutDeprecated.- Default:
- -1L
-
maxJobsActive
int maxJobsActiveDeprecated.- Default:
- -1
-
requestTimeout
long requestTimeoutDeprecated.- Default:
- -1L
-
pollInterval
long pollIntervalDeprecated.- Default:
- -1L
-
fetchVariables
String[] fetchVariablesDeprecated.- Default:
- {}
-
forceFetchAllVariables
boolean forceFetchAllVariablesDeprecated.Set to true, all variables are fetched independent of any other configuration via fetchVariables or @ZeebeVariable.- Default:
- false
-
autoComplete
boolean autoCompleteDeprecated.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 enabledDeprecated.- Default:
- true
-