Class ConnectorJobHandler

java.lang.Object
io.camunda.connector.runtime.util.outbound.ConnectorJobHandler
All Implemented Interfaces:
io.camunda.zeebe.client.api.worker.JobHandler

public class ConnectorJobHandler extends Object implements io.camunda.zeebe.client.api.worker.JobHandler
JobHandler that wraps an OutboundConnectorFunction
  • Field Details

  • Constructor Details

  • Method Details

    • handle

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

      protected SecretProvider getSecretProvider()
    • loadOrCreateSecretProvider

      protected SecretProvider loadOrCreateSecretProvider()
    • getEnvSecretProvider

      protected SecretProvider getEnvSecretProvider()
    • logError

      protected void logError(io.camunda.zeebe.client.api.response.ActivatedJob job, Exception ex)
    • completeJob

      protected void completeJob(io.camunda.zeebe.client.api.worker.JobClient client, io.camunda.zeebe.client.api.response.ActivatedJob job, ConnectorResult result)
    • failJob

      protected void failJob(io.camunda.zeebe.client.api.worker.JobClient client, io.camunda.zeebe.client.api.response.ActivatedJob job, Exception exception)
    • throwBpmnError

      protected void throwBpmnError(io.camunda.zeebe.client.api.worker.JobClient client, io.camunda.zeebe.client.api.response.ActivatedJob job, BpmnError value)
    • toMap

      protected static Map<String,Object> toMap(Exception exception)