@EnableConfigurationProperties(value=StreamConfigurationProperties.class) @ConditionalOnClass(value=org.springframework.cloud.stream.binder.Binder.class) @ConditionalOnBean(value=org.springframework.cloud.function.core.FunctionCatalog.class) @ConditionalOnProperty(name="spring.cloud.stream.enabled", havingValue="true", matchIfMissing=true) @EnableBinding(value=org.springframework.cloud.stream.messaging.Processor.class) public class StreamConfiguration extends Object
| Constructor and Description |
|---|
StreamConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
StreamListeningFunctionInvoker |
functionInvoker(FunctionCatalog registry,
FunctionInspector functionInspector,
org.springframework.cloud.stream.converter.CompositeMessageConverterFactory compositeMessageConverterFactory) |
SupplierInvokingMessageProducer<Object> |
supplierInvoker(FunctionCatalog registry) |
@Bean
@ConditionalOnProperty(name="spring.cloud.function.stream.supplier.enabled",
havingValue="true",
matchIfMissing=true)
public SupplierInvokingMessageProducer<Object> supplierInvoker(FunctionCatalog registry)
@Bean public StreamListeningFunctionInvoker functionInvoker(FunctionCatalog registry, FunctionInspector functionInspector, @Lazy org.springframework.cloud.stream.converter.CompositeMessageConverterFactory compositeMessageConverterFactory)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.