Red Hat build of Apache Camel for Spring Boot 4.4.0 Hot Fix Patch 1 =========================================================================================== This patch is intended to be applied to a project using Red Hat build of Apache Camel for Spring Boot 4.4.0. If you have any questions or feedback, please open a support request. =========================================================================================== Prerequisites: Red Hat build of Apache Camel 4.4.0 for Spring Boot =========================================================================================== Installation Instructions: 1. Unzip the provided zip file into your own internal Maven repository. 2. This step will only work if your Maven project imports the Camel Spring Boot BOM com.redhat.camel.springboot.platform:camel-spring-boot-bom. If this BOM is not imported by your Maven project, please proceed to step 3. Configure your Maven project to use the patch-maven-plugin as documented at https://access.redhat.com/documentation/en-us/red_hat_build_of_apache_camel/4.4/html/getting_started_with_red_hat_build_of_apache_camel_for_spring_boot/getting-started-with-camel-spring-boot_csb#maven-patch-to-camel-spring-boot-application The patch-maven-plugin will detect this patch and log the following at Maven build time: ========== Red Hat Maven patching ========== [INFO] [PATCH] Reading patch metadata and artifacts from 3 project repositories [INFO] [PATCH] - rh-ea: https://maven.repository.redhat.com/earlyaccess/all [INFO] [PATCH] - rh-ga: https://maven.repository.redhat.com/ga [INFO] [PATCH] - central: https://repo.maven.apache.org/maven2 [INFO] [PATCH] Reading metadata and artifacts from //redhat-camel-spring-boot-patch-repository-4.4.0.redhat-00014-hf1.zip [INFO] [PATCH] Resolved patch descriptor: /Users/XXX/.m2/repository/com/redhat/camel/springboot/platform/redhat-camel-spring-boot-patch-metadata/4.4.0.redhat-00014-hf1/redhat-camel-spring-boot-patch-metadata-4.4.0.redhat-00014-hf1.xml [INFO] [PATCH] Patch metadata found for com.redhat.camel.springboot.platform/camel-spring-boot-bom/[4.4,4.5) [INFO] [PATCH] - patch contains 1 patch fix [INFO] [PATCH] Processing managed dependencies to apply patch fixes... [INFO] [PATCH] - HF1: Camel on Spring Boot 4.4.0 HF1 - Fix XPath evaluation fails with result type integer [INFO] [PATCH] Applying change org.apache.camel/camel-xpath/[4.4,4.4.0.redhat-00019-hf1) -> 4.4.0.redhat-00019-hf1 [INFO] [PATCH] Project my.company:camel-xpath-reproducer [INFO] [PATCH] Applying change org.apache.camel/camel-saxon/[4.4,4.4.0.redhat-00019-hf1) -> 4.4.0.redhat-00019-hf1 [INFO] [PATCH] Project my.company:camel-xpath-reproducer [INFO] [PATCH] Applying change org.apache.camel.springboot/camel-xpath-starter/[4.4,4.4.0.redhat-00014-hf1) -> 4.4.0.redhat-00014-hf1 [INFO] [PATCH] Project my.company:camel-xpath-reproducer [INFO] [PATCH] - managed dependency: org.apache.camel.springboot/camel-xpath-starter/4.4.0.redhat-00014 -> 4.4.0.redhat-00014-hf1 [INFO] [PATCH] - dependency: org.apache.camel.springboot/camel-xpath-starter/4.4.0.redhat-00014 -> 4.4.0.redhat-00014-hf1 [INFO] [PATCH] Applying change org.apache.camel.springboot/camel-saxon-starter/[4.4,4.4.0.redhat-00014-hf1) -> 4.4.0.redhat-00014-hf1 [INFO] [PATCH] Project my.company:camel-xpath-reproducer [INFO] [PATCH] - managed dependency: org.apache.camel.springboot/camel-saxon-starter/4.4.0.redhat-00014 -> 4.4.0.redhat-00014-hf1 [INFO] [PATCH] Done in 144ms ================================================= 3. This step is an alternative to step 2. If the patch-maven-plugin does not detect the patch or is not used by your Maven project, you need to manually override the version of camel-xpath-starter and / or camel-saxon-starter in your project pom.xml: org.apache.camel.springboot camel-xpath-starter 4.4.0.redhat-00014-hf1 org.apache.camel.springboot camel-saxon-starter 4.4.0.redhat-00014-hf1 ... or if the Camel Spring Boot starter component is not used: org.apache.camel camel-path 4.4.0.redhat-00019-hf1 org.apache.camel camel-saxon 4.4.0.redhat-00019-hf1 4. Verify that the new version is correctly used by your project by running mvn dependency:tree 5. Take note of this change and remember to undo the change to pom.xml when upgrading to the next release of Camel Spring Boot in order to go with the version that is defined by the Camel Spring Boot BOM file again. =========================================================================================== Notes: The artifacts provided in this hot fix patch are supported until the next official release containing this fix becomes available. This should generally be the next release of Red Hat build of Apache Camel for Spring Boot. We expect users to upgrade to this release as early as possible. =========================================================================================== This patch release is an update to Camel Spring Boot 4.4.0 and includes the following bug fixes: https://issues.redhat.com/browse/CSB-4356 - XPath conversions failing in CSB 4.4 Best Regards, Red Hat Support