Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 2.0-M2
    • Component/s: camel-core
    • Labels:
      None

      Description

      When you use split, aggregator or the likes that uses an aggregation strategy and you filter the message out then it still passed in into the aggregation strategy.
      It should be skipped.

      For instance below we want to split a message and filter out bad lines.

                      Predicate goodWord = body().contains("World");
      
                      from("direct:start")
                          .split(body(List.class), new MyAggregationStrategy())
                              .filter(goodWord)
                              .to("mock:filtered")
                          .end()
                          .to("mock:result");
      

      See nabble:
      http://www.nabble.com/Filtered-message-after-splitter-shows-up-after-aggregation-td23957958s22882.html

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: