@Configuration @EnableConfigurationProperties(value=HeaderEnricherFunctionProperties.class) @ConditionalOnProperty(prefix="header.enricher", value="headers") public class HeaderEnricherFunctionConfiguration extends Object
Constructor and Description |
---|
HeaderEnricherFunctionConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.integration.transformer.HeaderEnricher |
headerEnricher() |
Function<org.springframework.messaging.Message<?>,org.springframework.messaging.Message<?>> |
headerEnricherFunction() |
org.springframework.integration.transformer.support.ExpressionEvaluatingHeaderValueMessageProcessor<?> |
processor(String expression) |
@Bean public Function<org.springframework.messaging.Message<?>,org.springframework.messaging.Message<?>> headerEnricherFunction()
@Bean public org.springframework.integration.transformer.HeaderEnricher headerEnricher()
@Bean @Scope(value="prototype") public org.springframework.integration.transformer.support.ExpressionEvaluatingHeaderValueMessageProcessor<?> processor(String expression)
Copyright © 2022. All rights reserved.