Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.18.0
-
None
-
Unknown
Description
When removing the log in the route just like
from("file:src/test/resources/org/apache/camel/util/toolbox?noop=true&sortBy=file:name&antInclude=*.xml") .routeId("route1").noAutoStartup() .aggregate(new XsltSaxonAggregationStrategy("org/apache/camel/util/toolbox/aggregate.xsl")) .constant(true) .completionFromBatchConsumer() //.log("after aggregate body: ${body}") .to("mock:transformed");
The test is failing with
[ERROR] org.apache.camel.component.xslt.saxon.XsltAggregationStrategyTest.testXsltAggregationDefaultProperty Time elapsed: 1.044 s <<< FAILURE! java.lang.AssertionError: mock://transformed Body of message: 0. Expected: <<?xml version="1.0" encoding="UTF-8"?><item>ABC</item>> but was: <<?xml version="1.0" encoding="UTF-8"?><item>AB</item>>
It seems that it is missing the last one content.
Attachments
Issue Links
- links to