@Configuration @ConditionalOnExpression(value="${axon.distributed.enabled:false} || ${axon.distributed.jgroups.enabled:false}") @ConditionalOnClass(name={"org.axonframework.jgroups.commandhandling.JGroupsConnector","org.jgroups.JChannel"}) public class JGroupsAutoConfiguration extends Object
Constructor and Description |
---|
JGroupsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.jgroups.stack.GossipRouter |
gossipRouter() |
JGroupsConnectorFactoryBean |
jgroupsConnectorFactoryBean(Serializer serializer,
CommandBus localSegment,
RoutingStrategy routingStrategy) |
@ConditionalOnProperty(value="axon.distributed.jgroups.gossip.autoStart") @Bean(destroyMethod="stop") public org.jgroups.stack.GossipRouter gossipRouter()
@ConditionalOnMissingBean(value={CommandRouter.class,CommandBusConnector.class}) @Bean public JGroupsConnectorFactoryBean jgroupsConnectorFactoryBean(Serializer serializer, @Qualifier(value="localSegment") CommandBus localSegment, RoutingStrategy routingStrategy)
Copyright © 2010–2017. All rights reserved.