diff --git a/modules/flowable-external-job-rest/src/main/java/org/flowable/external/job/rest/service/api/ExternalWorkerJobRestApiInterceptor.java b/modules/flowable-external-job-rest/src/main/java/org/flowable/external/job/rest/service/api/ExternalWorkerJobRestApiInterceptor.java index 6bb02bda5e9..cfed662302d 100644 --- a/modules/flowable-external-job-rest/src/main/java/org/flowable/external/job/rest/service/api/ExternalWorkerJobRestApiInterceptor.java +++ b/modules/flowable-external-job-rest/src/main/java/org/flowable/external/job/rest/service/api/ExternalWorkerJobRestApiInterceptor.java @@ -42,7 +42,7 @@ public interface ExternalWorkerJobRestApiInterceptor { void failExternalWorkerJob(ExternalWorkerJob job, ExternalWorkerJobFailureRequest request); - void accessAcquireExternalWorkerJobs(UnacquireExternalWorkerJobsRequest request); + void accessUnacquireExternalWorkerJobs(UnacquireExternalWorkerJobsRequest request); void unacquireExternalWorkerJob(ExternalWorkerJob job, UnacquireExternalWorkerJobsRequest request); } diff --git a/modules/flowable-external-job-rest/src/main/java/org/flowable/external/job/rest/service/api/acquire/ExternalWorkerUnacquireJobResource.java b/modules/flowable-external-job-rest/src/main/java/org/flowable/external/job/rest/service/api/acquire/ExternalWorkerUnacquireJobResource.java index 5efb7a48dfa..05d553b1a6d 100644 --- a/modules/flowable-external-job-rest/src/main/java/org/flowable/external/job/rest/service/api/acquire/ExternalWorkerUnacquireJobResource.java +++ b/modules/flowable-external-job-rest/src/main/java/org/flowable/external/job/rest/service/api/acquire/ExternalWorkerUnacquireJobResource.java @@ -50,7 +50,7 @@ public ExternalWorkerUnacquireJobResource(ExternalJobRestResponseFactory restRes @PostMapping(value = "/unacquire/jobs", produces = "application/json") public ResponseEntity unacquireJobs(@RequestBody UnacquireExternalWorkerJobsRequest request) { if (restApiInterceptor != null) { - restApiInterceptor.accessAcquireExternalWorkerJobs(request); + restApiInterceptor.accessUnacquireExternalWorkerJobs(request); } if (StringUtils.isEmpty(request.getWorkerId())) {