Class ZeebeClientStarterAutoConfiguration
java.lang.Object
io.camunda.zeebe.spring.client.config.ZeebeClientStarterAutoConfiguration
@Import(ZeebeActuatorConfiguration.class)
@EnableConfigurationProperties(ZeebeClientConfigurationProperties.class)
@Configuration
public class ZeebeClientStarterAutoConfiguration
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionZeebeClientStarterAutoConfiguration(ZeebeClientConfigurationProperties configurationProperties) -
Method Summary
Modifier and TypeMethodDescriptionio.camunda.zeebe.client.ZeebeClientBuilderbuilder(io.camunda.zeebe.client.api.JsonMapper jsonMapper, List<io.grpc.ClientInterceptor> clientInterceptorList) io.camunda.zeebe.client.api.JsonMapperRegistering a JsonMapper bean when there is none already exists inBeanFactory.
-
Constructor Details
-
ZeebeClientStarterAutoConfiguration
public ZeebeClientStarterAutoConfiguration(ZeebeClientConfigurationProperties configurationProperties)
-
-
Method Details
-
builder
@Bean @Primary public io.camunda.zeebe.client.ZeebeClientBuilder builder(io.camunda.zeebe.client.api.JsonMapper jsonMapper, @Autowired(required=false) List<io.grpc.ClientInterceptor> clientInterceptorList) -
propertyBasedZeebeWorkerValueCustomizer
@Bean("propertyBasedZeebeWorkerValueCustomizer") @ConditionalOnMissingBean(name="propertyBasedZeebeWorkerValueCustomizer") public ZeebeWorkerValueCustomizer propertyBasedZeebeWorkerValueCustomizer() -
jsonMapper
@Bean(name="zeebeJsonMapper") @ConditionalOnMissingBean public io.camunda.zeebe.client.api.JsonMapper jsonMapper()Registering a JsonMapper bean when there is none already exists inBeanFactory. NOTE: This method SHOULD NOT be explicitly called as it might lead to unexpected behaviour due to theConditionalOnMissingBeanannotation. i.e. Calling this method when another JsonMapper bean is defined in the context might throwNoSuchBeanDefinitionException- Returns:
- a new JsonMapper bean if none already exists in
BeanFactory
-