Class ContextFunctionCatalogAutoConfiguration
java.lang.Object
org.springframework.cloud.function.context.config.ContextFunctionCatalogAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnMissingBean(FunctionCatalog.class)
@EnableConfigurationProperties(FunctionProperties.class)
@AutoConfigureAfter(name="org.springframework.cloud.function.deployer.FunctionDeployerConfiguration")
public class ContextFunctionCatalogAutoConfiguration
extends Object
- Author:
- Dave Syer, Mark Fisher, Oleg Zhurakousky, Artem Bilan, Anshul Mehra, Soby Chacko, Chris Bono
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the property to specify desired JSON mapper. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfunctionCatalog(List<org.springframework.messaging.converter.MessageConverter> messageConverters, JsonMapper jsonMapper, org.springframework.context.ConfigurableApplicationContext context, FunctionInvocationHelper<org.springframework.messaging.Message<?>> functionInvocationHelper) functionRouter(FunctionCatalog functionCatalog, FunctionProperties functionProperties, org.springframework.beans.factory.BeanFactory beanFactory, MessageRoutingCallback routingCallback, DefaultMessageRoutingHandler defaultMessageRoutingHandler)
-
Field Details
-
JSON_MAPPER_PROPERTY
The name of the property to specify desired JSON mapper. Available values are `jackson' and 'gson'.- See Also:
-
-
Constructor Details
-
ContextFunctionCatalogAutoConfiguration
public ContextFunctionCatalogAutoConfiguration()
-
-
Method Details
-
functionCatalog
@Bean public FunctionRegistry functionCatalog(List<org.springframework.messaging.converter.MessageConverter> messageConverters, JsonMapper jsonMapper, org.springframework.context.ConfigurableApplicationContext context, @Nullable FunctionInvocationHelper<org.springframework.messaging.Message<?>> functionInvocationHelper) -
functionRouter
@Bean("functionRouter") public RoutingFunction functionRouter(FunctionCatalog functionCatalog, FunctionProperties functionProperties, org.springframework.beans.factory.BeanFactory beanFactory, @Nullable MessageRoutingCallback routingCallback, @Nullable DefaultMessageRoutingHandler defaultMessageRoutingHandler)
-