| commit | ed0174b6dac1d10b8ffd21bd1a68071b951148f6 | [log] [tgz] |
|---|---|---|
| author | Otavio Rodolfo Piske <angusyoung@gmail.com> | Tue Aug 20 15:41:47 2024 +0200 |
| committer | Otavio Rodolfo Piske <angusyoung@gmail.com> | Tue Aug 20 15:41:47 2024 +0200 |
| tree | 5c80cf9bad90ff0aec2b47c2456dd7a22e2b2123 | |
| parent | 93d2e340cc3f27f5d9437ac01e6bf69c8b53865e [diff] |
Fix compilation errors with newer Camel versions
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 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 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 static class BenchmarkState { DefaultCamelContext context; ProducerTemplate producerTemplate; - EndpointRegistry<NormalizedUri> endpointRegistry; + EndpointRegistry endpointRegistry; NormalizedUri[] routes = new NormalizedUri[500]; NormalizedUri[] nonExistentRoutes = new NormalizedUri[500];