diff --git a/.github/workflows/pr-build-main.yml b/.github/workflows/pr-build-main.yml
index 58d69ff..1dc3403 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -46,4 +46,4 @@ jobs:
java-version: 17
cache: 'maven'
- name: Maven build
- run: mvn -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress clean compile
+ run: mvn -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress clean verify
diff --git a/profiling/kafka/kafka-solr-exchange-pooling/pom.xml b/profiling/kafka/kafka-solr-exchange-pooling/pom.xml
index 1a1162e..2df36b9 100644
--- a/profiling/kafka/kafka-solr-exchange-pooling/pom.xml
+++ b/profiling/kafka/kafka-solr-exchange-pooling/pom.xml
@@ -49,7 +49,7 @@
quay.io/oscerd
${project.artifactId}
- 3.15.3
+ 1.9.0
2.2.0
main-SNAPSHOT
diff --git a/profiling/kafka/kafka-solr/pom.xml b/profiling/kafka/kafka-solr/pom.xml
index ad1da5a..afbf4d6 100644
--- a/profiling/kafka/kafka-solr/pom.xml
+++ b/profiling/kafka/kafka-solr/pom.xml
@@ -49,7 +49,7 @@
quay.io/oscerd
${project.artifactId}
- 3.15.3
+ 1.9.0
2.2.0
main-SNAPSHOT
diff --git a/profiling/kafka/pom.xml b/profiling/kafka/pom.xml
index be3c13e..585f397 100644
--- a/profiling/kafka/pom.xml
+++ b/profiling/kafka/pom.xml
@@ -49,7 +49,7 @@
quay.io/oscerd
${project.artifactId}
- 3.15.3
+ 1.14.0
2.11.0
0.9.0
diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/FileComponentPollingDirectoryTest.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/FileComponentPollingDirectoryTest.java
index 3d70546..87b02fb 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/FileComponentPollingDirectoryTest.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/FileComponentPollingDirectoryTest.java
@@ -26,6 +26,7 @@
import java.util.concurrent.TimeUnit;
import org.apache.camel.CamelContext;
+import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.component.file.FileConsumer;
import org.apache.camel.component.file.FileEndpoint;
@@ -67,8 +68,8 @@ public CustomFileConsumer(FileEndpoint endpoint, Processor processor, GenericFil
}
@Override
- public boolean pollDirectory(String fileName, List> fileList, int depth) {
- return super.pollDirectory(fileName, fileList, depth);
+ public boolean pollDirectory(Exchange dynamic, String fileName, List> fileList, int depth) {
+ return super.pollDirectory(dynamic, fileName, fileList, depth);
}
}
@@ -113,7 +114,7 @@ public void prepare() throws Exception {
@Benchmark
public void testFilePolling() {
System.out.println("Polling from " + inputDir);
- consumer.pollDirectory(inputDir, fileList, 0);
+ consumer.pollDirectory(endpoint.createExchange() , inputDir, fileList, 0);
System.out.println("Polled files: " + fileList.size());
}