@Configuration @AutoConfigureBefore(value=AxonAutoConfiguration.class) @AutoConfigureAfter(name="org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration") @ConditionalOnClass(name="com.fasterxml.jackson.databind.ObjectMapper") @EnableConfigurationProperties(value=SerializerProperties.class) public class ObjectMapperAutoConfiguration extends Object
Constructor and Description |
---|
ObjectMapperAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
defaultAxonObjectMapper() |
@Bean(value="defaultAxonObjectMapper") @ConditionalOnMissingBean @ConditionalOnExpression(value="\'${axon.serializer.general}\' == \'jackson\' || \'${axon.serializer.events}\' == \'jackson\' || \'${axon.serializer.messages}\' == \'jackson\'") public com.fasterxml.jackson.databind.ObjectMapper defaultAxonObjectMapper()
Copyright © 2010–2019. All rights reserved.