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
  • Field Details

    • JSON_MAPPER_PROPERTY

      public static final String 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()