Apache camel 4.20.0 Release

New and Noteworthy

This release is the new Camel 4.20.0 release.

Supported Java version

This version supports Java 17, 21 and 25.

Getting the Binaries using Maven

To use this release in your Apache Maven pom.xml, import the Camel Bill of Materials (BOM) and then include the camel-core and any other components needed without specifying the version.

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-bom</artifactId>
      <version>4.20.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-core</artifactId>
  </dependency>
  <dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-COMPONENT</artifactId>
  </dependency>
</dependencies>

To use this release in a Spring Boot application, use Spring Boot spring-boot-dependencies and Camel camel-spring-boot-bom Bill of Materials (BOM):

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-dependencies</artifactId>
      <version> SPRING BOOT VERSION HERE </version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.camel.springboot</groupId>
      <artifactId>camel-spring-boot-bom</artifactId>
      <version>4.20.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-COMPONENT-starter</artifactId>
  </dependency>
</dependencies>

Apache Camel

Git tag checkout

Release is tagged with camel-4.20.0 in the Git, to fetch it use:

git clone https://git-wip-us.apache.org/repos/asf/camel.git
cd camel
git checkout camel-4.20.0

Resolved issues

Here is a list of all the issues that have been resolved for this release

Bug (3)

CAMEL-23334
JBang plugin resolution checks remote repositories on every CLI invocation even when artifacts are cached locally
CAMEL-23283
OpenTelemetry/Micrometer traces are not correctly structured for JMS-initiated routes
CAMEL-23192
jbang export to quarkus generates wrong dockerfiles

Dependency upgrade (1)

CAMEL-23350
ci jobs - Upgrade to Maven Daemon 1.0.5

Improvement (12)

CAMEL-23351
camel-oaipmh: Add custom HTTP Headers
CAMEL-23349
Camel OpenTelemetry2 programmatic baggage management
CAMEL-23348
camel-jbang - Custom plugins cannot use JDK ServiceLoader
CAMEL-23325
camel-jbang - Only accept xxx.camel.yaml and xxx.yaml as valid YAML DSL files
CAMEL-23322
camel-infinispan: align remote aggregation repository options with sibling repos
CAMEL-23321
camel-jms, camel-sjms, camel-amqp - Add deserialization filtering for ObjectMessage handling
CAMEL-23320
camel-platform-http-starter - Fix binary data corruption due to Spring Boot's default UTF-8 charset
CAMEL-23319
Improve error handling and add input validation in camel-mina converters
CAMEL-23315
camel-exec - Optimize custom header
CAMEL-23314
camel-opensearch: Add SSLContextParameters support for TLS configuration
CAMEL-23313
HeaderFilter Strategies: add lowerCase where it's not present - JMS, SJMS, CoAP, Google PubSub
CAMEL-22497
camel-jbang - Can we make using HTTPS easier for camel.server

New Feature (1)

CAMEL-23331
camel-azure-storage-blob - Add support for blob snapshot creation and retrieval

Task (5)

CAMEL-23333
camel-core - Add documentation for sslContextParameters added to XML and YAML DSL
CAMEL-23290
Update shibboleth Maven repository
CAMEL-23164
camel-ftp-common - Move shared code into a common module
CAMEL-22948
[build] ArgLine warning
CAMEL-22555
[build] non-varargs call of varargs method with inexact argument type for last parameter

Test (3)

CAMEL-23323
Some failing Infinispan IT tests blocked Ci during 2 hours and half
CAMEL-23196
Tests fo rimpacted modules on github PRs are no more launched automatically
CAMEL-22989
Fix issue related to failing test RunCommandITCase.runWithProperties

Keys

You can verify your download by following these procedures and using these KEYS.