You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spring-client-zeebe/src/main/java/io/camunda/zeebe/spring/client/annotation/processor/ZeebeWorkerAnnotationProcessor.java
+16-16
Original file line number
Diff line number
Diff line change
@@ -68,14 +68,14 @@ public Optional<ZeebeWorkerValue> readJobWorkerAnnotationForMethod(final MethodI
68
68
if (methodAnnotation.isPresent()) {
69
69
JobWorkerannotation = methodAnnotation.get();
70
70
returnOptional.of(newZeebeWorkerValue()
71
-
.setMethodInfo(methodInfo)
72
-
.setType(annotation.type())
73
-
.setTimeout(annotation.timeout())
74
-
.setMaxJobsActive(annotation.maxJobsActive())
75
-
.setPollInterval(annotation.pollInterval())
76
-
.setAutoComplete(annotation.autoComplete())
77
-
.setRequestTimeout(annotation.requestTimeout())
78
-
.setEnabled(annotation.enabled())
71
+
.methodInfo(methodInfo)
72
+
.type(annotation.type())
73
+
.timeout(annotation.timeout())
74
+
.maxJobsActive(annotation.maxJobsActive())
75
+
.pollInterval(annotation.pollInterval())
76
+
.autoComplete(annotation.autoComplete())
77
+
.requestTimeout(annotation.requestTimeout())
78
+
.enabled(annotation.enabled())
79
79
80
80
// TODO Get rid of those initialize methods but add the attributes as values onto the worker and then auto-initialize stuff when opening the worker
0 commit comments