Class DefaultAggregateHeadersFunction
java.lang.Object
org.springframework.integration.aggregator.DefaultAggregateHeadersFunction
- All Implemented Interfaces:
Function<MessageGroup,
Map<String, Object>>
public class DefaultAggregateHeadersFunction
extends Object
implements Function<MessageGroup,Map<String,Object>>
The
Function
implementation for a default headers merging in the aggregator
component. It takes all the unique headers from all the messages in group and removes
those which are conflicted: have different values from different messages.- Since:
- 5.2
- Author:
- Artem Bilan
- See Also: