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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A simple converter from String to Expression. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.convert.converter.Converter<String,
org.springframework.expression.Expression> spelConverter
(org.springframework.context.ConfigurableApplicationContext context) static org.springframework.integration.expression.SpelPropertyAccessorRegistrar
Provide aSpelPropertyAccessorRegistrar
supplied with theJsonPropertyAccessor
.
-
Constructor Details
-
SpelExpressionConverterConfiguration
public SpelExpressionConverterConfiguration()
-
-
Method Details
-
spelPropertyAccessorRegistrar
@Bean public static org.springframework.integration.expression.SpelPropertyAccessorRegistrar spelPropertyAccessorRegistrar()Provide aSpelPropertyAccessorRegistrar
supplied with theJsonPropertyAccessor
. This bean is used to customize anIntegrationEvaluationContextFactoryBean
. for additionalPropertyAccessor
s.- 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)
-