This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git


The following commit(s) were added to refs/heads/main by this push:
     new ed0174b  Fix compilation errors with newer Camel versions
ed0174b is described below

commit ed0174b6dac1d10b8ffd21bd1a68071b951148f6
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Aug 20 15:41:47 2024 +0200

    Fix compilation errors with newer Camel versions
---
 pom.xml                                                                | 3 +--
 .../src/test/java/org/apache/camel/itest/jmh/EndpointHelperTest.java   | 2 +-
 .../org/apache/camel/itest/jmh/EndpointRegistryScalabilityTest.java    | 2 +-
 .../src/test/java/org/apache/camel/itest/jmh/EndpointRegistryTest.java | 2 +-
 4 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 50480e7..f64f161 100644
--- a/pom.xml
+++ b/pom.xml
@@ -153,8 +153,7 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>${maven-compiler-plugin-version}</version>
                 <configuration>
-                    <source>${jdk.version}</source>
-                    <target>${jdk.version}</target>
+                    <release>${jdk.version}</release>
                     <maxmem>512M</maxmem>
                     <fork>${compiler.fork}</fork>
                 </configuration>
diff --git 
a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointHelperTest.java
 
b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointHelperTest.java
index d3bbb3b..b6b38e0 100644
--- 
a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointHelperTest.java
+++ 
b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointHelperTest.java
@@ -50,7 +50,7 @@ public class EndpointHelperTest {
     public static class BenchmarkState {
         DefaultCamelContext context;
         ProducerTemplate producerTemplate;
-        EndpointRegistry<NormalizedUri> endpointRegistry;
+        EndpointRegistry endpointRegistry;
 
         String[] stringRoutes = new String[500];
         NormalizedUri[] routes = new NormalizedUri[500];
diff --git 
a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointRegistryScalabilityTest.java
 
b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointRegistryScalabilityTest.java
index f01945c..5628f74 100644
--- 
a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointRegistryScalabilityTest.java
+++ 
b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointRegistryScalabilityTest.java
@@ -50,7 +50,7 @@ public class EndpointRegistryScalabilityTest {
     public static class BenchmarkState {
         DefaultCamelContext context;
         ProducerTemplate producerTemplate;
-        EndpointRegistry<NormalizedUri> endpointRegistry;
+        EndpointRegistry endpointRegistry;
 
         NormalizedUri[] routes = new NormalizedUri[500];
         NormalizedUri[] nonExistentRoutes = new NormalizedUri[500];
diff --git 
a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointRegistryTest.java
 
b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointRegistryTest.java
index 31fcbda..8ea9ffb 100644
--- 
a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointRegistryTest.java
+++ 
b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/EndpointRegistryTest.java
@@ -49,7 +49,7 @@ public class EndpointRegistryTest {
     public static class BenchmarkState {
         DefaultCamelContext context;
         ProducerTemplate producerTemplate;
-        EndpointRegistry<NormalizedUri> endpointRegistry;
+        EndpointRegistry endpointRegistry;
 
         NormalizedUri[] routes = new NormalizedUri[500];
         NormalizedUri[] nonExistentRoutes = new NormalizedUri[500];

Reply via email to