@Configuration @AutoConfigureBefore(value=AxonAutoConfiguration.class) @ConditionalOnClass(value=AxonServerConfiguration.class) public class AxonServerAutoConfiguration extends Object implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
AxonServerAutoConfiguration() |
@Bean public AxonServerConfiguration axonServerConfiguration()
@Bean(destroyMethod="shutdown") public AxonServerConnectionManager platformConnectionManager(AxonServerConfiguration routingConfiguration)
@Bean(destroyMethod="disconnect") @Primary @ConditionalOnMissingQualifiedBean(qualifier="!localSegment", beanClass=CommandBus.class) public AxonServerCommandBus axonServerCommandBus(AxonServerConfiguration axonServerConfiguration, Serializer serializer, AxonServerConnectionManager axonServerConnectionManager, RoutingStrategy routingStrategy, CommandPriorityCalculator priorityCalculator, @Qualifier(value="localSegment") CommandBus localSegment)
@Bean @ConditionalOnMissingBean public RoutingStrategy routingStrategy()
@Bean @ConditionalOnMissingBean public CommandPriorityCalculator commandPriorityCalculator()
@Bean @ConditionalOnMissingBean public QueryPriorityCalculator queryPriorityCalculator()
@Bean @ConditionalOnMissingBean public QueryInvocationErrorHandler queryInvocationErrorHandler()
@Bean(destroyMethod="disconnect") @ConditionalOnMissingBean(value=QueryBus.class) public AxonServerQueryBus queryBus(AxonServerConnectionManager axonServerConnectionManager, AxonServerConfiguration axonServerConfiguration, AxonConfiguration axonConfiguration, TransactionManager txManager, @Qualifier(value="messageSerializer") Serializer messageSerializer, Serializer genericSerializer, QueryPriorityCalculator priorityCalculator, QueryInvocationErrorHandler queryInvocationErrorHandler)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
@Bean public EventProcessorInfoConfiguration processorInfoConfiguration(EventProcessingConfiguration eventProcessingConfiguration, AxonServerConnectionManager connectionManager, AxonServerConfiguration configuration)
@Bean @ConditionalOnMissingBean public EventStore eventStore(AxonServerConfiguration axonServerConfiguration, AxonConfiguration configuration, AxonServerConnectionManager axonServerConnectionManager, Serializer snapshotSerializer, @Qualifier(value="eventSerializer") Serializer eventSerializer)
Copyright © 2010–2019. All rights reserved.