@Configuration @AutoConfigureBefore(value=AxonAutoConfiguration.class) @ConditionalOnClass(value=AxonServerConfiguration.class) @EnableConfigurationProperties(value=TagsConfigurationProperties.class) @ConditionalOnProperty(name="axon.axonserver.enabled", matchIfMissing=true) public class AxonServerAutoConfiguration extends Object implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
AxonServerAutoConfiguration() |
@Bean public AxonServerConfiguration axonServerConfiguration()
@Bean @ConditionalOnMissingBean public ManagedChannelCustomizer managedChannelCustomizer()
@Bean public AxonServerConnectionManager platformConnectionManager(AxonServerConfiguration axonServerConfiguration, TagsConfigurationProperties tagsConfigurationProperties, ManagedChannelCustomizer managedChannelCustomizer)
@Bean @ConditionalOnMissingBean public RoutingStrategy routingStrategy()
@Bean @ConditionalOnMissingBean public CommandPriorityCalculator commandPriorityCalculator()
@Bean @ConditionalOnMissingBean public CommandLoadFactorProvider commandLoadFactorProvider(AxonServerConfiguration configuration)
@Bean @ConditionalOnMissingBean public QueryPriorityCalculator queryPriorityCalculator()
@Bean @ConditionalOnMissingBean public QueryInvocationErrorHandler queryInvocationErrorHandler()
@ConditionalOnMissingBean @Bean public TargetContextResolver<Message<?>> targetContextResolver()
public void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
@Bean @ConditionalOnMissingClass(value="org.axonframework.extensions.multitenancy.autoconfig.MultiTenancyAxonServerAutoConfiguration") public EventProcessorInfoConfiguration processorInfoConfiguration(EventProcessingConfiguration eventProcessingConfiguration, AxonServerConnectionManager connectionManager, AxonServerConfiguration configuration)
@Bean @ConditionalOnMissingBean public EventScheduler eventScheduler(@Qualifier(value="eventSerializer") Serializer eventSerializer, AxonServerConnectionManager connectionManager)
Copyright © 2010–2023. All rights reserved.