@AutoConfiguration @AutoConfigureAfter(value=AxonServerAutoConfiguration.class) @AutoConfigureBefore(value=AxonAutoConfiguration.class) @ConditionalOnClass(value=AxonServerConfiguration.class) @ConditionalOnProperty(name="axon.axonserver.enabled", matchIfMissing=true) public class AxonServerBusAutoConfiguration extends Object
Constructor and Description |
---|
AxonServerBusAutoConfiguration() |
@Bean @Primary @ConditionalOnMissingQualifiedBean(qualifier="!localSegment", beanClass=CommandBus.class) public AxonServerCommandBus axonServerCommandBus(AxonServerConnectionManager axonServerConnectionManager, AxonServerConfiguration axonServerConfiguration, @Qualifier(value="localSegment") CommandBus localSegment, @Qualifier(value="messageSerializer") Serializer messageSerializer, RoutingStrategy routingStrategy, CommandPriorityCalculator priorityCalculator, CommandLoadFactorProvider loadFactorProvider, TargetContextResolver<? super CommandMessage<?>> targetContextResolver, CommandBusSpanFactory spanFactory)
@Bean @ConditionalOnMissingBean(value=QueryBus.class) public AxonServerQueryBus queryBus(AxonServerConnectionManager axonServerConnectionManager, AxonServerConfiguration axonServerConfiguration, Configuration axonConfiguration, TransactionManager txManager, @Qualifier(value="messageSerializer") Serializer messageSerializer, Serializer genericSerializer, QueryPriorityCalculator priorityCalculator, QueryInvocationErrorHandler queryInvocationErrorHandler, TargetContextResolver<? super QueryMessage<?,?>> targetContextResolver)
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(name="axon.axonserver.event-store.enabled", matchIfMissing=true) public EventStore eventStore(AxonServerConfiguration axonServerConfiguration, Configuration configuration, AxonServerConnectionManager axonServerConnectionManager, Serializer snapshotSerializer, @Qualifier(value="eventSerializer") Serializer eventSerializer)
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(name="axon.axonserver.event-store.enabled", matchIfMissing=true) public AxonServerEventStoreFactory axonServerEventStoreFactory(AxonServerConfiguration axonServerConfig, AxonServerConnectionManager axonServerConnectionManager, Serializer snapshotSerializer, @Qualifier(value="eventSerializer") Serializer eventSerializer, Configuration config)
Copyright © 2010–2024. All rights reserved.