Class JobHandlerInvokingSpringBeans

java.lang.Object
io.camunda.zeebe.spring.client.jobhandling.JobHandlerInvokingSpringBeans
All Implemented Interfaces:
io.camunda.zeebe.client.api.worker.JobHandler

public class JobHandlerInvokingSpringBeans extends Object implements io.camunda.zeebe.client.api.worker.JobHandler
Zeebe JobHandler that invokes a Spring bean
  • Constructor Details

    • JobHandlerInvokingSpringBeans

      public JobHandlerInvokingSpringBeans(ZeebeWorkerValue workerValue, CommandExceptionHandlingStrategy commandExceptionHandlingStrategy, io.camunda.zeebe.client.api.JsonMapper jsonMapper, MetricsRecorder metricsRecorder)
    • JobHandlerInvokingSpringBeans

      public JobHandlerInvokingSpringBeans(ZeebeWorkerValue workerValue, CommandExceptionHandlingStrategy commandExceptionHandlingStrategy, io.camunda.connector.api.secret.SecretProvider secretProvider, io.camunda.connector.impl.outbound.OutboundConnectorConfiguration connectorConfiguration, io.camunda.connector.runtime.util.outbound.OutboundConnectorFactory outboundConnectorFactory, io.camunda.zeebe.client.api.JsonMapper jsonMapper, MetricsRecorder metricsRecorder)
  • Method Details

    • handle

      public void handle(io.camunda.zeebe.client.api.worker.JobClient jobClient, io.camunda.zeebe.client.api.response.ActivatedJob job) throws Exception
      Specified by:
      handle in interface io.camunda.zeebe.client.api.worker.JobHandler
      Throws:
      Exception
    • createCompleteCommand

      public static io.camunda.zeebe.client.api.command.FinalCommandStep createCompleteCommand(io.camunda.zeebe.client.api.worker.JobClient jobClient, io.camunda.zeebe.client.api.response.ActivatedJob job, Object result)