lburgazzoli commented on a change in pull request #402:
URL: https://github.com/apache/camel-k-runtime/pull/402#discussion_r456123224



##########
File path: 
camel-k-loader-yaml/camel-k-loader-yaml/src/test/resources/routes/RoutesTest_aggregator.yaml
##########
@@ -19,7 +19,7 @@
     steps:
       - aggregate:
           strategy-ref: "aggregatorStrategy"
-          completion-size: 2
+          completion-size: "2"

Review comment:
       it is because the completion size is a string field: 
https://github.com/apache/camel/blob/c2f5ba87c4173e36e99f6332e44f055572e72d24/core/camel-core-engine/src/main/java/org/apache/camel/model/AggregateDefinition.java#L97
   
   camel does not care much as it is able to convert among types but the type 
is of course relevant for the schema validation 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to