@Configuration @ConditionalOnBean(value=CommandRouter.class) public class DistributedAutoConfiguration extends Object
Constructor and Description |
---|
DistributedAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
DistributedCommandBus |
distributedCommandBus(CommandRouter router,
CommandBusConnector connector,
DistributedCommandBusProperties distributedCommandBusProperties) |
@Bean @Primary @ConditionalOnBean(value=CommandBusConnector.class) @ConditionalOnMissingBean public DistributedCommandBus distributedCommandBus(CommandRouter router, CommandBusConnector connector, DistributedCommandBusProperties distributedCommandBusProperties)
Copyright © 2010–2018. All rights reserved.