Class SpelExpressionConverterConfiguration

java.lang.Object
org.springframework.cloud.stream.config.SpelExpressionConverterConfiguration

@Configuration(proxyBeanMethods=false) @Role(2) public class SpelExpressionConverterConfiguration extends Object
Adds a Converter from String to SpEL Expression in the context.
Author:
Eric Bottard, Artem Bilan
  • Constructor Details

    • SpelExpressionConverterConfiguration

      public SpelExpressionConverterConfiguration()
  • Method Details

    • spelPropertyAccessorRegistrar

      @Bean public static org.springframework.integration.expression.SpelPropertyAccessorRegistrar spelPropertyAccessorRegistrar()
      Provide a SpelPropertyAccessorRegistrar supplied with the JsonPropertyAccessor. This bean is used to customize an IntegrationEvaluationContextFactoryBean. for additional PropertyAccessors.
      Returns:
      the SpelPropertyAccessorRegistrar bean
      See Also:
      • IntegrationEvaluationContextFactoryBean
    • spelConverter

      @Bean @ConfigurationPropertiesBinding @IntegrationConverter public org.springframework.core.convert.converter.Converter<String,org.springframework.expression.Expression> spelConverter(org.springframework.context.ConfigurableApplicationContext context)