Class CamundaClientBuilderImpl
- All Implemented Interfaces:
CamundaClientBuilder,CamundaClientConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final Stringstatic final URIstatic final JobExceptionHandlerstatic final Durationstatic final Durationstatic final Stringstatic final TenantFilterstatic final Durationstatic final intstatic final intstatic final intstatic final intstatic final Durationstatic final intstatic final booleanstatic final booleanstatic final Durationstatic final Durationstatic final URIstatic final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyEnvironmentVariableOverrides(boolean applyEnvironmentVariableOverrides) Allows to disable the mechanism to override some properties by ENVIRONMENT VARIABLES.build()caCertificatePath(String certificatePath) Path to a root CA certificate to be used instead of the certificate in the default default store.credentialsProvider(CredentialsProvider credentialsProvider) A customCredentialsProviderwhich will be used to apply authentication credentials to requests.defaultJobPollInterval(Duration pollInterval) The interval which a job worker is periodically polling for new jobs.defaultJobTimeout(Duration timeout) The timeout which is used when none is provided for a job worker.defaultJobWorkerExceptionHandler(JobExceptionHandler jobExceptionHandler) A custom retryBackoffSupplier allows the client to determine the default retry backoff strategy that every job worker will apply unless configured otherwise.defaultJobWorkerMaxJobsActive(int maxJobsActive) defaultJobWorkerName(String workerName) The name of the worker which is used when none is set for a job worker.defaultJobWorkerStreamEnabled(boolean streamEnabled) A custom streamEnabled allows the client to use job stream instead of job poll.defaultJobWorkerTenantFilter(TenantFilter tenantFilter) The behavior to adopt when filtering jobs during activation by a given worker.defaultJobWorkerTenantIds(List<String> tenantIds) defaultMessageTimeToLive(Duration timeToLive) The time-to-live which is used when none is provided for a message.defaultRequestTimeout(Duration requestTimeout) The request timeout used if not overridden by the command.defaultRequestTimeoutOffset(Duration requestTimeoutOffset) The request timeout client offset is used in commands where theCamundaClientBuilder.defaultRequestTimeout(Duration)is also passed to the server.defaultTenantId(String tenantId) List<org.apache.hc.client5.http.async.AsyncExecChainHandler> intbooleanList<io.grpc.ClientInterceptor> intintintintgrpcAddress(URI grpcAddress) jobHandlingExecutor(ExecutorService executor, boolean takeOwnership) Allows passing a custom executor service that will be used for handling jobs (i.e. executing theJobHandler).jobWorkerExecutor(ScheduledExecutorService executor, boolean takeOwnership) Identical behavior asCamundaClientBuilder.jobWorkerSchedulingExecutor(ScheduledExecutorService,boolean).jobWorkerSchedulingExecutor(ScheduledExecutorService executor, boolean takeOwnership) Allows passing a custom scheduled executor service that will be used for scheduling job worker tasks such as polling for new jobs.Time interval between keep alive messages sent to the gateway.maxHttpConnections(int maxConnections) Sets the maximum number of concurrent HTTP connections the client can open.maxMessageSize(int maxMessageSize) A custom maxMessageSize allows the client to receive larger or smaller responses from Camunda.maxMetadataSize(int maxMetadataSize) A custom maxMetadataSize allows the client to receive larger or smaller response headers from Camunda.numJobWorkerExecutionThreads(int numSubscriptionThreads) overrideAuthority(String authority) Overrides the authority used with TLS virtual hosting.booleanbooleanbooleanphysicalTenantId(String physicalTenantId) booleanpreferRestOverGrpc(boolean preferRestOverGrpc) If true, will prefer to use REST over gRPC for calls which can be done over both REST and gRPC.booleanprefixPhysicalTenantPath(boolean prefixPhysicalTenantPath) Controls whether the client prefixes the REST base path with/physical-tenants/<id>when aphysical tenant idis set (defaulttrue).restAddress(URI restAddress) toString()booleanuseClientSideLoadBalancing(boolean useClientSideLoadBalancing) If enabled, the client will use DNS-based name resolution and balance across all addresses.booleanuseDefaultRetryPolicy(boolean useDefaultRetryPolicy) If enabled, the client will make use of the default retry policy defined.withChainHandlers(org.apache.hc.client5.http.async.AsyncExecChainHandler... chainHandler) Custom implementations of the Apache HttpClientAsyncExecChainHandlermiddleware API.withConfiguration(CamundaClientConfiguration configuration) Sets the configuration from aCamundaClientConfigurationobject.withInterceptors(io.grpc.ClientInterceptor... interceptors) Custom implementations of the gRPCClientInterceptormiddleware API.withJsonMapper(JsonMapper jsonMapper) withProperties(Properties properties) Sets all the properties from aPropertiesobject.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.camunda.client.CamundaClientBuilder
jobHandlingExecutor, jobWorkerExecutor, jobWorkerSchedulingExecutor
-
Field Details
-
DEFAULT_GATEWAY_ADDRESS
- See Also:
-
DEFAULT_GRPC_ADDRESS
-
DEFAULT_REST_ADDRESS
-
DEFAULT_JOB_WORKER_NAME_VAR
- See Also:
-
DEFAULT_MESSAGE_TTL
-
DEFAULT_PREFER_REST_OVER_GRPC
public static final boolean DEFAULT_PREFER_REST_OVER_GRPC- See Also:
-
DEFAULT_PREFIX_PHYSICAL_TENANT_PATH
public static final boolean DEFAULT_PREFIX_PHYSICAL_TENANT_PATH- See Also:
-
DEFAULT_NUM_JOB_WORKER_EXECUTION_THREADS
public static final int DEFAULT_NUM_JOB_WORKER_EXECUTION_THREADS- See Also:
-
DEFAULT_MAX_MESSAGE_SIZE
public static final int DEFAULT_MAX_MESSAGE_SIZE- See Also:
-
DEFAULT_MAX_METADATA_SIZE
public static final int DEFAULT_MAX_METADATA_SIZE- See Also:
-
DEFAULT_KEEP_ALIVE
-
DEFAULT_REQUEST_TIMEOUT
-
DEFAULT_REQUEST_TIMEOUT_OFFSET
-
DEFAULT_JOB_WORKER_TENANT_IDS
-
DEFAULT_JOB_WORKER_TENANT_FILTER
-
DEFAULT_JOB_TIMEOUT
-
DEFAULT_MAX_JOBS_ACTIVE
public static final int DEFAULT_MAX_JOBS_ACTIVE- See Also:
-
DEFAULT_JOB_POLL_INTERVAL
-
DEFAULT_STREAM_ENABLED
public static final boolean DEFAULT_STREAM_ENABLED- See Also:
-
DEFAULT_MAX_HTTP_CONNECTIONS
public static final int DEFAULT_MAX_HTTP_CONNECTIONS- See Also:
-
DEFAULT_JOB_EXCEPTION_HANDLER
-
DEFAULT_CLIENT_SIDE_LOAD_BALANCING
public static final boolean DEFAULT_CLIENT_SIDE_LOAD_BALANCING- See Also:
-
-
Constructor Details
-
CamundaClientBuilderImpl
public CamundaClientBuilderImpl()
-
-
Method Details
-
getRestAddress
- Specified by:
getRestAddressin interfaceCamundaClientConfiguration- See Also:
-
getGrpcAddress
- Specified by:
getGrpcAddressin interfaceCamundaClientConfiguration- See Also:
-
getDefaultTenantId
- Specified by:
getDefaultTenantIdin interfaceCamundaClientConfiguration- See Also:
-
getPhysicalTenantId
- Specified by:
getPhysicalTenantIdin interfaceCamundaClientConfiguration- See Also:
-
prefixPhysicalTenantPath
public boolean prefixPhysicalTenantPath()- Specified by:
prefixPhysicalTenantPathin interfaceCamundaClientConfiguration- See Also:
-
getDefaultJobWorkerTenantIds
- Specified by:
getDefaultJobWorkerTenantIdsin interfaceCamundaClientConfiguration- See Also:
-
getDefaultJobWorkerTenantFilter
- Specified by:
getDefaultJobWorkerTenantFilterin interfaceCamundaClientConfiguration- See Also:
-
getNumJobWorkerExecutionThreads
public int getNumJobWorkerExecutionThreads()- Specified by:
getNumJobWorkerExecutionThreadsin interfaceCamundaClientConfiguration- See Also:
-
getDefaultJobWorkerMaxJobsActive
public int getDefaultJobWorkerMaxJobsActive()- Specified by:
getDefaultJobWorkerMaxJobsActivein interfaceCamundaClientConfiguration- See Also:
-
getDefaultJobWorkerName
- Specified by:
getDefaultJobWorkerNamein interfaceCamundaClientConfiguration- See Also:
-
getDefaultJobTimeout
- Specified by:
getDefaultJobTimeoutin interfaceCamundaClientConfiguration- See Also:
-
getDefaultJobPollInterval
- Specified by:
getDefaultJobPollIntervalin interfaceCamundaClientConfiguration- See Also:
-
getDefaultMessageTimeToLive
- Specified by:
getDefaultMessageTimeToLivein interfaceCamundaClientConfiguration- See Also:
-
getDefaultRequestTimeout
- Specified by:
getDefaultRequestTimeoutin interfaceCamundaClientConfiguration- See Also:
-
getDefaultRequestTimeoutOffset
- Specified by:
getDefaultRequestTimeoutOffsetin interfaceCamundaClientConfiguration- See Also:
-
getCaCertificatePath
- Specified by:
getCaCertificatePathin interfaceCamundaClientConfiguration- See Also:
-
getCredentialsProvider
- Specified by:
getCredentialsProviderin interfaceCamundaClientConfiguration- See Also:
-
getKeepAlive
- Specified by:
getKeepAlivein interfaceCamundaClientConfiguration- See Also:
-
getInterceptors
- Specified by:
getInterceptorsin interfaceCamundaClientConfiguration- See Also:
-
getChainHandlers
- Specified by:
getChainHandlersin interfaceCamundaClientConfiguration- See Also:
-
getJsonMapper
- Specified by:
getJsonMapperin interfaceCamundaClientConfiguration- See Also:
-
getOverrideAuthority
- Specified by:
getOverrideAuthorityin interfaceCamundaClientConfiguration- See Also:
-
getMaxMessageSize
public int getMaxMessageSize()- Specified by:
getMaxMessageSizein interfaceCamundaClientConfiguration- See Also:
-
getMaxMetadataSize
public int getMaxMetadataSize()- Specified by:
getMaxMetadataSizein interfaceCamundaClientConfiguration- See Also:
-
jobWorkerExecutor
- Specified by:
jobWorkerExecutorin interfaceCamundaClientConfiguration- See Also:
-
ownsJobWorkerExecutor
public boolean ownsJobWorkerExecutor()- Specified by:
ownsJobWorkerExecutorin interfaceCamundaClientConfiguration
-
jobWorkerSchedulingExecutor
- Specified by:
jobWorkerSchedulingExecutorin interfaceCamundaClientConfiguration- See Also:
-
ownsJobWorkerSchedulingExecutor
public boolean ownsJobWorkerSchedulingExecutor()- Specified by:
ownsJobWorkerSchedulingExecutorin interfaceCamundaClientConfiguration- See Also:
-
jobHandlingExecutor
- Specified by:
jobHandlingExecutorin interfaceCamundaClientConfiguration- See Also:
-
ownsJobHandlingExecutor
public boolean ownsJobHandlingExecutor()- Specified by:
ownsJobHandlingExecutorin interfaceCamundaClientConfiguration- See Also:
-
getDefaultJobWorkerStreamEnabled
public boolean getDefaultJobWorkerStreamEnabled()- Specified by:
getDefaultJobWorkerStreamEnabledin interfaceCamundaClientConfiguration- See Also:
-
useDefaultRetryPolicy
public boolean useDefaultRetryPolicy()- Specified by:
useDefaultRetryPolicyin interfaceCamundaClientConfiguration- See Also:
-
getDefaultJobWorkerExceptionHandler
- Specified by:
getDefaultJobWorkerExceptionHandlerin interfaceCamundaClientConfiguration- See Also:
-
preferRestOverGrpc
public boolean preferRestOverGrpc()- Specified by:
preferRestOverGrpcin interfaceCamundaClientConfiguration- See Also:
-
getMaxHttpConnections
public int getMaxHttpConnections()- Specified by:
getMaxHttpConnectionsin interfaceCamundaClientConfiguration- See Also:
-
useClientSideLoadBalancing
public boolean useClientSideLoadBalancing()- Specified by:
useClientSideLoadBalancingin interfaceCamundaClientConfiguration- See Also:
-
withProperties
Description copied from interface:CamundaClientBuilderSets all the properties from aPropertiesobject. Can be used to configure the client from a properties file.See
ClientPropertiesfor valid property names.- Specified by:
withPropertiesin interfaceCamundaClientBuilder
-
withConfiguration
Description copied from interface:CamundaClientBuilderSets the configuration from aCamundaClientConfigurationobject. Can be used to configure a client from a base configuration.- Specified by:
withConfigurationin interfaceCamundaClientBuilder
-
applyEnvironmentVariableOverrides
public CamundaClientBuilder applyEnvironmentVariableOverrides(boolean applyEnvironmentVariableOverrides) Description copied from interface:CamundaClientBuilderAllows to disable the mechanism to override some properties by ENVIRONMENT VARIABLES. This is useful if a client shall be constructed for test cases or in an environment that wants to fully control properties (like Spring Boot).The default value is
true.- Specified by:
applyEnvironmentVariableOverridesin interfaceCamundaClientBuilder
-
restAddress
- Specified by:
restAddressin interfaceCamundaClientBuilder- Parameters:
restAddress- the REST API address of a gateway that the client can connect to. The address must be an absolute URL, including the scheme.The default value is
https://0.0.0.0:8080.
-
grpcAddress
- Specified by:
grpcAddressin interfaceCamundaClientBuilder- Parameters:
grpcAddress- the gRPC address of a gateway that the client can connect to. The address must be an absolute URL, including the scheme.The default value is
https://0.0.0.0:26500.
-
defaultTenantId
- Specified by:
defaultTenantIdin interfaceCamundaClientBuilder- Parameters:
tenantId- the tenant identifier which is used for tenant-aware commands when no tenant identifier is set. The default value isCommandWithTenantStep.DEFAULT_TENANT_IDENTIFIER.
-
physicalTenantId
- Specified by:
physicalTenantIdin interfaceCamundaClientBuilder- Parameters:
physicalTenantId- the physical tenant identifier sent as theCamunda-Physical-TenantgRPC metadata header on every outgoing call. Whennullthe header is omitted and the gateway applies its own default.
-
prefixPhysicalTenantPath
Description copied from interface:CamundaClientBuilderControls whether the client prefixes the REST base path with/physical-tenants/<id>when aphysical tenant idis set (defaulttrue). Set tofalseto use the configured REST address verbatim — e.g. when a reverse proxy or a custom path layout already routes to the physical tenant. Has no effect on the gRPCCamunda-Physical-Tenantheader, which is always sent when a physical tenant id is set.- Specified by:
prefixPhysicalTenantPathin interfaceCamundaClientBuilder- Parameters:
prefixPhysicalTenantPath- whether to auto-prefix the REST base path per physical tenant
-
defaultJobWorkerTenantIds
- Specified by:
defaultJobWorkerTenantIdsin interfaceCamundaClientBuilder- Parameters:
tenantIds- the tenant identifiers which are used for job-activation commands when no tenant identifiers are set. The default value contains onlyCommandWithTenantStep.DEFAULT_TENANT_IDENTIFIER.
-
defaultJobWorkerTenantFilter
Description copied from interface:CamundaClientBuilderThe behavior to adopt when filtering jobs during activation by a given worker. SeeTenantFilterfor possible values. The default value isTenantFilter.PROVIDED.- Specified by:
defaultJobWorkerTenantFilterin interfaceCamundaClientBuilder
-
defaultJobWorkerMaxJobsActive
- Specified by:
defaultJobWorkerMaxJobsActivein interfaceCamundaClientBuilder- Parameters:
maxJobsActive- Default value forJobWorkerBuilderStep1.JobWorkerBuilderStep3.maxJobsActive(int). Default value is 32.
-
numJobWorkerExecutionThreads
- Specified by:
numJobWorkerExecutionThreadsin interfaceCamundaClientBuilder- Parameters:
numSubscriptionThreads- The number of threads for invocation of job workers. Default value is 1. Setting this value to 0 causes the client to reuse the scheduled executor for job handling (backward compatibility behavior).
-
jobWorkerExecutor
public CamundaClientBuilder jobWorkerExecutor(ScheduledExecutorService executor, boolean takeOwnership) Description copied from interface:CamundaClientBuilderIdentical behavior asCamundaClientBuilder.jobWorkerSchedulingExecutor(ScheduledExecutorService,boolean). Replaced in favor of more fine-grained configuration of job worker executors.- Specified by:
jobWorkerExecutorin interfaceCamundaClientBuilder
-
jobWorkerSchedulingExecutor
public CamundaClientBuilder jobWorkerSchedulingExecutor(ScheduledExecutorService executor, boolean takeOwnership) Description copied from interface:CamundaClientBuilderAllows passing a custom scheduled executor service that will be used for scheduling job worker tasks such as polling for new jobs.Note that job handling (i.e. executing the
JobHandler) is done on a separate executor configured viaCamundaClientBuilder.jobHandlingExecutor(ExecutorService, boolean).If no job handling executor is provided, this scheduling executor will also be used for job handling. If no executor is provided here, a default scheduled executor will be created.
- Specified by:
jobWorkerSchedulingExecutorin interfaceCamundaClientBuilder- Parameters:
executor- an executor service to use for scheduling job worker taskstakeOwnership- if true, the executor will be closed when the client is closed otherwise, it's up to the caller to manage its lifecycle- See Also:
-
jobHandlingExecutor
Description copied from interface:CamundaClientBuilderAllows passing a custom executor service that will be used for handling jobs (i.e. executing theJobHandler). This executor is separate from the scheduling executor configured viaCamundaClientBuilder.jobWorkerSchedulingExecutor(ScheduledExecutorService, boolean).If no executor is provided here, the scheduling executor will also be used for job handling.
When non-null, this setting override
CamundaClientBuilder.numJobWorkerExecutionThreads(int).- Specified by:
jobHandlingExecutorin interfaceCamundaClientBuilder- Parameters:
executor- an executor service to use for handling jobstakeOwnership- if true, the executor will be closed when the client is closed otherwise, it's up to the caller to manage its lifecycle
-
defaultJobWorkerName
Description copied from interface:CamundaClientBuilderThe name of the worker which is used when none is set for a job worker. Default is 'default'.- Specified by:
defaultJobWorkerNamein interfaceCamundaClientBuilder
-
defaultJobTimeout
Description copied from interface:CamundaClientBuilderThe timeout which is used when none is provided for a job worker. Default is 5 minutes.- Specified by:
defaultJobTimeoutin interfaceCamundaClientBuilder
-
defaultJobPollInterval
Description copied from interface:CamundaClientBuilderThe interval which a job worker is periodically polling for new jobs. Default is 100 milliseconds.- Specified by:
defaultJobPollIntervalin interfaceCamundaClientBuilder
-
defaultMessageTimeToLive
Description copied from interface:CamundaClientBuilderThe time-to-live which is used when none is provided for a message. Default is 1 hour.- Specified by:
defaultMessageTimeToLivein interfaceCamundaClientBuilder
-
defaultRequestTimeout
Description copied from interface:CamundaClientBuilderThe request timeout used if not overridden by the command. Default is 10 seconds.- Specified by:
defaultRequestTimeoutin interfaceCamundaClientBuilder
-
defaultRequestTimeoutOffset
Description copied from interface:CamundaClientBuilderThe request timeout client offset is used in commands where theCamundaClientBuilder.defaultRequestTimeout(Duration)is also passed to the server. This ensures that the client timeout does not occur before the server timeout.The client-side timeout for these commands is calculated as the sum of
defaultRequestTimeoutanddefaultRequestTimeoutOffset.Default is 1 second.
- Specified by:
defaultRequestTimeoutOffsetin interfaceCamundaClientBuilder
-
caCertificatePath
Description copied from interface:CamundaClientBuilderPath to a root CA certificate to be used instead of the certificate in the default default store.- Specified by:
caCertificatePathin interfaceCamundaClientBuilder
-
credentialsProvider
Description copied from interface:CamundaClientBuilderA customCredentialsProviderwhich will be used to apply authentication credentials to requests.- Specified by:
credentialsProviderin interfaceCamundaClientBuilder
-
keepAlive
Description copied from interface:CamundaClientBuilderTime interval between keep alive messages sent to the gateway. The default is 45 seconds.- Specified by:
keepAlivein interfaceCamundaClientBuilder
-
withInterceptors
Description copied from interface:CamundaClientBuilderCustom implementations of the gRPCClientInterceptormiddleware API. The interceptors will be applied to every gRPC call that the client makes. More details can be found at invalid input: '{@link <a href="https://grpc.io/docs/guides/interceptors/">grpc.io</a>'}.- Specified by:
withInterceptorsin interfaceCamundaClientBuilder
-
withChainHandlers
public CamundaClientBuilder withChainHandlers(org.apache.hc.client5.http.async.AsyncExecChainHandler... chainHandler) Description copied from interface:CamundaClientBuilderCustom implementations of the Apache HttpClientAsyncExecChainHandlermiddleware API. The middleware implementations will be called on every REST API call that the client makes.- Specified by:
withChainHandlersin interfaceCamundaClientBuilder
-
withJsonMapper
- Specified by:
withJsonMapperin interfaceCamundaClientBuilder
-
overrideAuthority
Description copied from interface:CamundaClientBuilderOverrides the authority used with TLS virtual hosting. Specifically, to override hostname verification in the TLS handshake. It does not change what host is actually connected to.This method is intended for testing, but may safely be used outside of tests as an alternative to DNS overrides.
This setting does nothing if a plaintext connection is used.
- Specified by:
overrideAuthorityin interfaceCamundaClientBuilder- Parameters:
authority- The alternative authority to use, commonly in the formhostorhost:port
-
maxMessageSize
Description copied from interface:CamundaClientBuilderA custom maxMessageSize allows the client to receive larger or smaller responses from Camunda. Technically, it specifies the maxInboundMessageSize of the gRPC channel. The default is 5242880 = 5MB.- Specified by:
maxMessageSizein interfaceCamundaClientBuilder
-
maxMetadataSize
Description copied from interface:CamundaClientBuilderA custom maxMetadataSize allows the client to receive larger or smaller response headers from Camunda. Technically, it specifies the maxInboundMetadataSize of the gRPC channel. The default is 16384 = 16KB .- Specified by:
maxMetadataSizein interfaceCamundaClientBuilder
-
defaultJobWorkerStreamEnabled
Description copied from interface:CamundaClientBuilderA custom streamEnabled allows the client to use job stream instead of job poll. The default value is set as enabled.- Specified by:
defaultJobWorkerStreamEnabledin interfaceCamundaClientBuilder
-
useDefaultRetryPolicy
Description copied from interface:CamundaClientBuilderIf enabled, the client will make use of the default retry policy defined. False by default.NOTE: the default retry policy is taken from the
gateway-service-config.jsonin theio.camunda:zeebe-gateway-protocol-implJAR.- Specified by:
useDefaultRetryPolicyin interfaceCamundaClientBuilder
-
preferRestOverGrpc
Description copied from interface:CamundaClientBuilderIf true, will prefer to use REST over gRPC for calls which can be done over both REST and gRPC. The default value istrue(REST is preferred).NOTE: job streaming is only supported via gRPC
- Specified by:
preferRestOverGrpcin interfaceCamundaClientBuilder- Parameters:
preferRestOverGrpc- if true, the client will use REST instead of gRPC whenever possible
-
useClientSideLoadBalancing
Description copied from interface:CamundaClientBuilderIf enabled, the client will use DNS-based name resolution and balance across all addresses. This allows the client to distribute requests across multiple gateway instances resolved by DNS without requiring an external load balancer.Default is
false.- Specified by:
useClientSideLoadBalancingin interfaceCamundaClientBuilder- Parameters:
useClientSideLoadBalancing- if true, enables DNS resolution and randomized load balancing
-
maxHttpConnections
Description copied from interface:CamundaClientBuilderSets the maximum number of concurrent HTTP connections the client can open.- Specified by:
maxHttpConnectionsin interfaceCamundaClientBuilder
-
defaultJobWorkerExceptionHandler
public CamundaClientBuilder defaultJobWorkerExceptionHandler(JobExceptionHandler jobExceptionHandler) Description copied from interface:CamundaClientBuilderA custom retryBackoffSupplier allows the client to determine the default retry backoff strategy that every job worker will apply unless configured otherwise. By default, a static retry backoff ofPT0Sis used.- Specified by:
defaultJobWorkerExceptionHandlerin interfaceCamundaClientBuilder- Parameters:
jobExceptionHandler- the retry backoff supplier to retrieve the retry backoff for every fail job command- Returns:
- this builder for chaining
-
build
- Specified by:
buildin interfaceCamundaClientBuilder- Returns:
- a new
CamundaClientwith the provided configuration options.
-
toString
-