@Configuration @ConditionalOnClass(value={org.springframework.integration.dsl.IntegrationFlows.class,org.springframework.cloud.stream.annotation.EnableBinding.class}) @ConditionalOnProperty(name="stubrunner.stream.enabled", havingValue="true", matchIfMissing=true) public class StubRunnerStreamConfiguration extends Object
Constructor and Description |
---|
StubRunnerStreamConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.contract.stubrunner.messaging.stream.StubRunnerStreamConfiguration.FlowRegistrar |
stubFlowRegistrar(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory,
BatchStubRunner batchStubRunner) |
@Bean @ConditionalOnMissingBean(name="stubFlowRegistrar") @ConditionalOnBean(value=org.springframework.cloud.stream.config.BindingServiceProperties.class) public org.springframework.cloud.contract.stubrunner.messaging.stream.StubRunnerStreamConfiguration.FlowRegistrar stubFlowRegistrar(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, BatchStubRunner batchStubRunner)
Copyright © 2016–2017 Spring. All rights reserved.