@AutoConfiguration @AutoConfigureBefore(value=AxonAutoConfiguration.class) @ConditionalOnClass(name="com.fasterxml.jackson.dataformat.cbor.databind.CBORMapper") @EnableConfigurationProperties(value=SerializerProperties.class) public class CBORMapperAutoConfiguration extends Object
Constructor and Description |
---|
CBORMapperAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.dataformat.cbor.databind.CBORMapper |
defaultAxonCborMapper() |
@Bean(value="defaultAxonCborMapper") @ConditionalOnMissingBean(value=com.fasterxml.jackson.dataformat.cbor.databind.CBORMapper.class) @ConditionalOnExpression(value="\'${axon.serializer.general}\' == \'cbor\' || \'${axon.serializer.events}\' == \'cbor\' || \'${axon.serializer.messages}\' == \'cbor\'") public com.fasterxml.jackson.dataformat.cbor.databind.CBORMapper defaultAxonCborMapper()
Copyright © 2010–2024. All rights reserved.