public class ClaimCheckAggregationStrategy extends Object implements AggregationStrategy
AggregationStrategy
used by the ClaimCheckProcessor
EIP.
This strategy supports the following include rules syntax:
EndpointHelper.matchPattern(String, String)
.
Constructor and Description |
---|
ClaimCheckAggregationStrategy() |
Modifier and Type | Method and Description |
---|---|
Exchange |
aggregate(Exchange oldExchange,
Exchange newExchange)
Aggregates an old and new exchange together to create a single combined exchange
|
String |
getFilter() |
void |
setFilter(String filter) |
public ClaimCheckAggregationStrategy()
public Exchange aggregate(Exchange oldExchange, Exchange newExchange)
AggregationStrategy
aggregate
in interface AggregationStrategy
oldExchange
- the oldest exchange (is null on first aggregation as we only have the new exchange)newExchange
- the newest exchange (can be null if there was no data possible to acquire)Apache Camel