@AutoConfiguration @AutoConfigureBefore(value=AxonAutoConfiguration.class) @ConditionalOnClass(value=org.axonframework.axonserver.connector.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() |
| Modifier and Type | Method and Description |
|---|---|
AxonServerConfiguration |
axonServerConfiguration() |
CommandLoadFactorProvider |
commandLoadFactorProvider(AxonServerConfiguration configuration) |
CommandPriorityCalculator |
commandPriorityCalculator() |
org.axonframework.eventhandling.scheduling.EventScheduler |
eventScheduler(org.axonframework.serialization.Serializer eventSerializer,
AxonServerConnectionManager connectionManager) |
ManagedChannelCustomizer |
managedChannelCustomizer() |
AxonServerConnectionManager |
platformConnectionManager(AxonServerConfiguration axonServerConfiguration,
TagsConfigurationProperties tagsConfigurationProperties,
ManagedChannelCustomizer managedChannelCustomizer) |
EventProcessorInfoConfiguration |
processorInfoConfiguration(org.axonframework.config.EventProcessingConfiguration eventProcessingConfiguration,
AxonServerConnectionManager connectionManager,
AxonServerConfiguration configuration) |
org.axonframework.queryhandling.QueryInvocationErrorHandler |
queryInvocationErrorHandler() |
QueryPriorityCalculator |
queryPriorityCalculator() |
org.axonframework.commandhandling.distributed.RoutingStrategy |
routingStrategy() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
TargetContextResolver<org.axonframework.messaging.Message<?>> |
targetContextResolver() |
@Bean public AxonServerConfiguration axonServerConfiguration()
@Bean @ConditionalOnMissingBean public ManagedChannelCustomizer managedChannelCustomizer()
@Bean public AxonServerConnectionManager platformConnectionManager(AxonServerConfiguration axonServerConfiguration, TagsConfigurationProperties tagsConfigurationProperties, ManagedChannelCustomizer managedChannelCustomizer)
@Bean @ConditionalOnMissingBean public org.axonframework.commandhandling.distributed.RoutingStrategy routingStrategy()
@Bean @ConditionalOnMissingBean public CommandPriorityCalculator commandPriorityCalculator()
@Bean @ConditionalOnMissingBean public CommandLoadFactorProvider commandLoadFactorProvider(AxonServerConfiguration configuration)
@Bean @ConditionalOnMissingBean public QueryPriorityCalculator queryPriorityCalculator()
@Bean @ConditionalOnMissingBean public org.axonframework.queryhandling.QueryInvocationErrorHandler queryInvocationErrorHandler()
@ConditionalOnMissingBean @Bean public TargetContextResolver<org.axonframework.messaging.Message<?>> targetContextResolver()
public void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansException@Bean @ConditionalOnMissingClass(value="org.axonframework.extensions.multitenancy.autoconfig.MultiTenancyAxonServerAutoConfiguration") public EventProcessorInfoConfiguration processorInfoConfiguration(org.axonframework.config.EventProcessingConfiguration eventProcessingConfiguration, AxonServerConnectionManager connectionManager, AxonServerConfiguration configuration)
@Bean
@ConditionalOnMissingBean
public org.axonframework.eventhandling.scheduling.EventScheduler eventScheduler(@Qualifier(value="eventSerializer")
org.axonframework.serialization.Serializer eventSerializer,
AxonServerConnectionManager connectionManager)
Copyright © 2010–2023. All rights reserved.