Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.13.1
-
None
-
None
-
None
-
Unknown
Description
ZipAggregationStrategy does not preserve properties:
public class MyRouteBuilder extends RouteBuilder { @Override public void configure() { from("file:zipper/in?include=.*.xml&noop=true") .process(new Processor() { @Override public void process(final Exchange exchange) throws Exception { exchange.setProperty("myProperty", "myValue"); } }) .aggregate(new ZipAggregationStrategy()) .constant(true) .completionFromBatchConsumer() .eagerCheckCompletion() .log("myProperty = ${property.myProperty}") .to("file:zipper/out"); } }
This logs:
myProperty =
Instead it should log:
myProperty = myValue
Attachments
Issue Links
- relates to
-
CAMEL-8246 ZipAggregationStrategy does not preserve headers
- Resolved