@Configuration @ConditionalOnProperty(value="spring.cloud.stream.function.definition") public class FunctionConfiguration extends Object
Constructor and Description |
---|
FunctionConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.stream.function.FunctionCatalogWrapper |
functionCatalogWrapper(org.springframework.cloud.function.context.FunctionCatalog catalog) |
IntegrationFlowFunctionSupport |
functionSupport(org.springframework.cloud.stream.function.FunctionCatalogWrapper functionCatalog,
org.springframework.cloud.function.context.catalog.FunctionInspector functionInspector,
CompositeMessageConverterFactory messageConverterFactory,
StreamFunctionProperties functionProperties) |
org.springframework.integration.dsl.IntegrationFlow |
integrationFlowCreator(IntegrationFlowFunctionSupport functionSupport)
This configuration creates an instance of
IntegrationFlow appropriate for binding declared using EnableBinding. |
@Bean public IntegrationFlowFunctionSupport functionSupport(org.springframework.cloud.stream.function.FunctionCatalogWrapper functionCatalog, org.springframework.cloud.function.context.catalog.FunctionInspector functionInspector, CompositeMessageConverterFactory messageConverterFactory, StreamFunctionProperties functionProperties)
@Bean public org.springframework.cloud.stream.function.FunctionCatalogWrapper functionCatalogWrapper(org.springframework.cloud.function.context.FunctionCatalog catalog)
@ConditionalOnMissingBean @Bean public org.springframework.integration.dsl.IntegrationFlow integrationFlowCreator(IntegrationFlowFunctionSupport functionSupport)
IntegrationFlow
appropriate for binding declared using EnableBinding.
At the moment only Source, Processor and Sink are supported.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.