@Configuration
@ConditionalOnClass(value={org.springframework.cloud.contract.stubrunner.messaging.stream.StubRunnerStreamConfiguration.FlowRegistrar.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.ChannelBindingServiceProperties.class)
public org.springframework.cloud.contract.stubrunner.messaging.stream.StubRunnerStreamConfiguration.FlowRegistrar stubFlowRegistrar(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory,
BatchStubRunner batchStubRunner)
Copyright © 2016 Spring. All rights reserved.