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

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


The following commit(s) were added to refs/heads/camel-main by this push:
     new 413fd6fbed Fixed jolt, rest test modules
413fd6fbed is described below

commit 413fd6fbed63e6f03349b093cdee80e55fcf20f5
Author: Jiří Ondrušek <[email protected]>
AuthorDate: Fri Oct 2 06:39:51 2026 +0000

    Fixed jolt, rest test modules
    
    jolt: Quarkus 3.40.1 downgraded Jackson to the 2.21 LTS line, but camel-jolt
    now uses Jackson 3.2.3 (CAMEL-24806), whose databind needs 
jackson-annotations
    2.22 (JsonApplyView, JsonIncludeProperties.order). The native build of
    integration-tests/jolt failed on the unresolved members. Manage
    jackson-annotations at the version required by the Jackson 3 BOM in the
    integration test parent, winning over the quarkus-bom import, like the
    existing protobuf-java override. Remove once quarkus-bom manages
    jackson-annotations >= 2.22.
    
    rest: CAMEL-24652 matches fileNameExtWhitelist entries exactly against the
    bare file extension, so the route's ".txt" rejected every upload. Use
    "txt", the documented format.
    
    Co-Authored-By: Claude Fable 5.1 <[email protected]>
---
 .../org/apache/camel/quarkus/component/rest/it/RestRoutes.java    | 2 +-
 pom.xml                                                           | 1 +
 poms/build-parent-it/pom.xml                                      | 8 ++++++++
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java
 
b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java
index 4bd328713c..8d81ed950f 100644
--- 
a/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java
+++ 
b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java
@@ -37,7 +37,7 @@ public class RestRoutes extends RouteBuilder {
                 .enableCORS(true)
                 .corsAllowCredentials(true)
                 .corsHeaderProperty("Access-Control-Allow-Methods", "GET, 
POST")
-                .endpointProperty("fileNameExtWhitelist", ".txt");
+                .endpointProperty("fileNameExtWhitelist", "txt");
 
         rest("/rest")
                 .delete()
diff --git a/pom.xml b/pom.xml
index f57eabc3c4..faf57377ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,6 +124,7 @@
         <ibm.mq.client.version>10.0.0.0</ibm.mq.client.version>
         <icu4j.version>${icu4j-version}</icu4j.version>
         <influxdb.version>${influx-java-driver-version}</influxdb.version>
+        <jackson-annotations.version>2.22</jackson-annotations.version><!-- 
@sync tools.jackson:jackson-bom:${jackson3.version} 
prop:jackson.version.annotations -->
         <jackson3.version>${jackson3-version}</jackson3.version>
         
<jakarta.jms-api.version>${jakarta-jms-api-version}</jakarta.jms-api.version>
         
<java-driver-query-builder.version>4.19.2</java-driver-query-builder.version><!--
 @sync 
com.datastax.oss.quarkus:cassandra-quarkus-parent:${cassandra-quarkus.version} 
prop:java-driver.version -->
diff --git a/poms/build-parent-it/pom.xml b/poms/build-parent-it/pom.xml
index 4af73572e4..43b5fe0466 100644
--- a/poms/build-parent-it/pom.xml
+++ b/poms/build-parent-it/pom.xml
@@ -78,6 +78,14 @@
                 <artifactId>protobuf-java</artifactId>
                 <version>${protobuf.version}</version>
             </dependency>
+            <!-- Direct entry to win over the older jackson-annotations 
managed by the quarkus-bom import above.
+                 Jackson 3 (tools.jackson, used by camel-jolt) requires 
jackson-annotations >= ${jackson-annotations.version}.
+                 Remove when quarkus-bom manages jackson-annotations >= 
${jackson-annotations.version} -->
+            <dependency>
+                <groupId>com.fasterxml.jackson.core</groupId>
+                <artifactId>jackson-annotations</artifactId>
+                <version>${jackson-annotations.version}</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 

Reply via email to