Class ClaimCheckAggregationStrategy

java.lang.Object
org.apache.camel.processor.ClaimCheckAggregationStrategy
All Implemented Interfaces:
org.apache.camel.AggregationStrategy

public class ClaimCheckAggregationStrategy extends Object implements org.apache.camel.AggregationStrategy
Default AggregationStrategy used by the ClaimCheckProcessor EIP.

This strategy supports the following include rules syntax:

  • body
  • - to aggregate the message body
  • headers
  • - to aggregate all the message headers
  • header:pattern
  • - to aggregate all the message headers that matches the pattern. The pattern syntax is documented by: PatternHelper.matchPattern(String, String).
You can specify multiple rules separated by comma. For example to include the message body and all headers starting with foo body,header:foo*. If the include rule is specified as empty or as wildcard then everything is merged. If you have configured both include and exclude then exclude take precedence over include.
  • Constructor Details

    • ClaimCheckAggregationStrategy

      public ClaimCheckAggregationStrategy()
  • Method Details

    • getFilter

      public String getFilter()
    • setFilter

      public void setFilter(String filter)
    • aggregate

      public org.apache.camel.Exchange aggregate(org.apache.camel.Exchange oldExchange, org.apache.camel.Exchange newExchange)
      Specified by:
      aggregate in interface org.apache.camel.AggregationStrategy