Class DefaultAggregateHeadersFunction
java.lang.Object
org.springframework.integration.aggregator.DefaultAggregateHeadersFunction
- All Implemented Interfaces:
java.util.function.Function<MessageGroup,java.util.Map<java.lang.String,java.lang.Object>>
public class DefaultAggregateHeadersFunction extends java.lang.Object implements java.util.function.Function<MessageGroup,java.util.Map<java.lang.String,java.lang.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
- See Also:
AbstractAggregatingMessageGroupProcessor
-
Constructor Summary
Constructors Constructor Description DefaultAggregateHeadersFunction() -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>apply(MessageGroup messageGroup)
-
Constructor Details
-
DefaultAggregateHeadersFunction
public DefaultAggregateHeadersFunction()
-
-
Method Details
-
apply
- Specified by:
applyin interfacejava.util.function.Function<MessageGroup,java.util.Map<java.lang.String,java.lang.Object>>
-