This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit cb72231b6cff4ad65bb0f673cdb928cc1f124ce7 Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Jun 30 09:05:10 2021 +0200 Sync deps and regen --- camel-dependencies/pom.xml | 2 +- .../camel/component/kamelet/KameletEipAggregateGroovyTest.java | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index d6cbbaa..d51ed5e 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -306,7 +306,7 @@ <jboss-marshalling-version>1.4.10.Final</jboss-marshalling-version> <jboss-transaction-spi.version>7.5.1.Final</jboss-transaction-spi.version> <jboss-xnio-version>3.3.8.Final</jboss-xnio-version> - <jbpm-version>7.55.0.Final</jbpm-version> + <jbpm-version>7.56.0.Final</jbpm-version> <jcache-bundle-version>1.1.1_1</jcache-bundle-version> <jclouds-google-guava-version>18.0</jclouds-google-guava-version> <jclouds-google-guava-version-range>[18.0,19.0)</jclouds-google-guava-version-range> diff --git a/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEipAggregateGroovyTest.java b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEipAggregateGroovyTest.java index 6e222b1..f6bb036 100644 --- a/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEipAggregateGroovyTest.java +++ b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEipAggregateGroovyTest.java @@ -17,7 +17,6 @@ package org.apache.camel.component.kamelet; import org.apache.camel.RoutesBuilder; -import org.apache.camel.builder.AggregationStrategies; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.test.junit5.CamelTestSupport; import org.junit.jupiter.api.Test; @@ -49,10 +48,10 @@ public class KameletEipAggregateGroovyTest extends CamelTestSupport { public void configure() throws Exception { routeTemplate("my-aggregate") .templateBean("myAgg", "groovy", - // for aggregation we need a class that has the method with how to aggregate the messages - // the logic can of course be much more than just to append with comma + // for aggregation we need a class that has the method with how to aggregate the messages + // the logic can of course be much more than just to append with comma "class MyAgg { String agg(b1, b2) { b1 + ',' + b2 } }; new MyAgg()") - // the groovy is evaluated as a script so must return an instance of the class + // the groovy is evaluated as a script so must return an instance of the class .templateParameter("count") .from("kamelet:source") .aggregate(constant(true))
