@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 @ConditionalOnMissingBean(value=CommandBus.class) public AxonServerCommandBus commandBus(TransactionManager txManager, AxonConfiguration axonConfiguration, AxonServerConfiguration axonServerConfiguration, Serializer serializer, AxonServerConnectionManager axonServerConnectionManager, RoutingStrategy routingStrategy, CommandPriorityCalculator priorityCalculator)
@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–2018. All rights reserved.