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
-
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 TypeMethodDescriptionorg.springframework.messaging.converter.MessageConverterorg.springframework.messaging.converter.MessageConverterfunctionCatalog(List<org.springframework.messaging.converter.MessageConverter> messageConverters, JsonMapper jsonMapper, org.springframework.context.ConfigurableApplicationContext context, FunctionInvocationHelper<org.springframework.messaging.Message<?>> functionInvocationHelper)
-
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) -
avroSchemaMessageConverter
@Bean @ConditionalOnMissingBean @ConditionalOnClass(name="org.apache.avro.Schema") public org.springframework.messaging.converter.MessageConverter avroSchemaMessageConverter() -
cloudEventMessageConverter
@Bean @ConditionalOnMissingBean @ConditionalOnClass(name="io.cloudevents.spring.messaging.CloudEventMessageConverter") public org.springframework.messaging.converter.MessageConverter cloudEventMessageConverter()
-