이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 1. Red Hat build of Apache Camel for Spring Boot 4.4 release notes


1.1. Features in Red Hat build of Apache Camel for Spring Boot

Red Hat build of Apache Camel for Spring Boot introduces Camel support for Spring Boot which provides auto-configuration of Camel, and starters for many Camel components. The opinionated auto-configuration of the Camel context auto-detects Camel routes available in the Spring context and registers key Camel utilities (like producer template, consumer template and the type converter) as beans.

1.3. The javax to jakarta Package Namespace Change

The Java EE move to the Eclipse Foundation and the establishment of Jakarta EE, since Jakarta EE 9, packages used for all EE APIs have changed to jakarta.*

Code snippets in documentation have been updated to use the jakarta.* namespace, but you of course need to take care and review your own applications.

Note

This change does not affect javax packages that are part of Java SE.

When migrating applications to EE 10, you need to:

  • Update any import statements or other source code uses of EE API classes from the javax package to jakarta.
  • Change any EE-specified system properties or other configuration properties whose names begin with javax. to begin with jakarta..
  • Use the META-INF/services/jakarta.[rest_of_name] name format to identify implementation classes in your applications that use the implement EE interfaces or abstract classes bootstrapped with the java.util.ServiceLoader mechanism.

1.3.1. Migration tools

1.4. Important notes for Red Hat build of Apache Camel for Spring Boot

1.4.1. Support for IBM Power and IBM Z

Red Hat build of Camel Spring Boot is now supported on IBM Power and IBM Z.

1.4.2. Support for EIP circuit breaker

The Circuit Breaker EIP for Camel Spring Boot supports Resilience4j configuration. This configuration provides integration with Resilience4j to be used as Circuit Breaker in Camel routes.

1.4.3. Support for Stateful transactions

The Red Hat build of Camel Example Spring Boot provides a Camel Spring Boot JTA quickstart. This quickstart demonstrates how to run a Camel Service on Spring Boot that supports JTA transactions on two external transactional resources: a database (MySQL) and a message broker (Artemis). These external resources are provided by OpenShift which must be started before running this quickstart.

1.5. Fixed issues for Red Hat build of Apache Camel for Spring Boot

The following sections list the issues that have been resolved in Red Hat build of Apache Camel for Spring Boot.

1.5.1. Red Hat build of Apache Camel for Spring Boot version 4.4.4 fixed issues

The following sections list the issues that have been resolved in Red Hat build of Apache Camel for Spring Boot version 4.4.4.

Expand
Table 1.1. Red Hat build of Apache Camel for Spring Boot version 4.4.4 resolved issues
IssueDescription

CSB-6003

CVE-2024-51132 ca.uhn.hapi.fhir/org.hl7.fhir.dstu2: arbitrary code execution via specially-crafted request

CSB-6004

CVE-2024-51132 ca.uhn.hapi.fhir/org.hl7.fhir.dstu2016may: arbitrary code execution via specially-crafted request

CSB-6006

CVE-2024-51132 ca.uhn.hapi.fhir/org.hl7.fhir.dstu3: arbitrary code execution via specially-crafted request

CSB-6008

CVE-2024-51132 ca.uhn.hapi.fhir/org.hl7.fhir.r4: arbitrary code execution via specially-crafted request

CSB-6010

CVE-2024-51132 ca.uhn.hapi.fhir/org.hl7.fhir.r5: arbitrary code execution via specially-crafted request

CSB-6012

CVE-2024-51132 ca.uhn.hapi.fhir/org.hl7.fhir.utilities: arbitrary code execution via specially-crafted request

CSB-6015

CVE-2024-52007 ca.uhn.hapi.fhir/org.hl7.fhir.dstu2016may: XXE vulnerability in XSLT parsing in org.hl7.fhir.core

CSB-6016

CVE-2024-52007 ca.uhn.hapi.fhir/org.hl7.fhir.dstu3: XXE vulnerability in XSLT parsing in org.hl7.fhir.core

CSB-6017

CVE-2024-52007 ca.uhn.hapi.fhir/org.hl7.fhir.r4: XXE vulnerability in XSLT parsing in org.hl7.fhir.core

CSB-6018

CVE-2024-52007 ca.uhn.hapi.fhir/org.hl7.fhir.r5: XXE vulnerability in XSLT parsing in org.hl7.fhir.core

CSB-6019

CVE-2024-52007 ca.uhn.hapi.fhir/org.hl7.fhir.utilities: XXE vulnerability in XSLT parsing in org.hl7.fhir.core

CSB-6091

Upgrade to Spring Boot 3.2.11

1.5.2. Red Hat build of Apache Camel for Spring Boot version 4.4.3 fixed issues

The following sections list the issues that have been resolved in Red Hat build of Apache Camel for Spring Boot version 4.4.3.

Expand
Table 1.2. Red Hat build of Apache Camel for Spring Boot version 4.4.3 resolved issues
IssueDescription

CSB-4672

Define Agroal version in CSB platform BOM

CSB-5338

[CAMEL-20790]kafka batching consumer polls randomly failing with NPE under load

CSB-5388

CVE-2023-52428 com.nimbusds/nimbus-jose-jwt: large JWE p2c header value causes Denial of Service

CSB-5416

CVE-2024-45294 ca.uhn.hapi.fhir/org.hl7.fhir.dstu2016may: XXE vulnerability in XSLT transforms in org.hl7.fhir.core

CSB-5419

CVE-2024-45294 ca.uhn.hapi.fhir/org.hl7.fhir.dstu3: XXE vulnerability in XSLT transforms in org.hl7.fhir.core

CSB-5422

CVE-2024-45294 ca.uhn.hapi.fhir/org.hl7.fhir.r4: XXE vulnerability in XSLT transforms in org.hl7.fhir.core

CSB-5425

CVE-2024-45294 ca.uhn.hapi.fhir/org.hl7.fhir.r5: XXE vulnerability in XSLT transforms in org.hl7.fhir.core

CSB-5428

CVE-2024-45294 ca.uhn.hapi.fhir/org.hl7.fhir.utilities: XXE vulnerability in XSLT transforms in org.hl7.fhir.core

CSB-5492

CVE-2024-38816 org.springframework/spring-webmvc: Path Traversal Vulnerability in Spring Applications Using RouterFunctions and FileSystemResource

CSB-5531

Camel route coverage is not working after upgrading Camel from 4.0 to 4.4

CSB-5556

CVE-2024-7254 protobuf: StackOverflow vulnerability in Protocol Buffers

CSB-5568

camel-cics: the protocol option has been hardcoded in the CICSConfiguration class

CSB-5571

CVE-2024-38809 org.springframework/spring-web: Spring Framework DoS via conditional HTTP request

CSB-5584

Excessing locking in camel jaxb under load

CSB-5603

CVE-2021-44549 org.eclipse.angus/angus-mail: Enabling Secure Server Identity Checks for Safer SMTPS Communication

CSB-5662

CVE-2024-47561 org.apache.avro/avro: Schema parsing may trigger Remote Code Execution (RCE)

CSB-5673

Address CXF Async Calls with OpenTelemetry

1.5.3. Red Hat build of Apache Camel for Spring Boot version 4.4.2 fixed issues

The following sections list the issues that have been resolved in Red Hat build of Apache Camel for Spring Boot version 4.4.2.

Expand
Table 1.3. Red Hat build of Apache Camel for Spring Boot version 4.4.2 resolved issues
IssueDescription

CSB-4960

CVE-2024-41172 org.apache.cxf/cxf-rt-transports-http: unrestricted memory consumption in CXF HTTP clients

CSB-4981

OOM using RecipientList

CSB-5028

CVE-2024-7885 undertow: Improper State Management in Proxy Protocol parsing causes information leakage

CSB-5082

CVE-2024-38808 org.springframework/spring-expression: From NVD collector

CSB-5094

Upgrade CSB 4.4.x to Spring Boot 3.2.9

CSB-5313

artemis-quorum-api was removed in artemis 2.33+ in favor of artemis-lockmanager

CAMEL-21044

azure-servicebus: FQNS not set correctly when credentialType is AZURE_IDENTITY

CAMEL-21053

camel-xslt - All exchange properties should be avaiable

CAMEL-21057

REST OpenApi fails to resolve host from the URL

CAMEL-21101

Camel-Hashicorp-Vault: Get Secret operation doesn’t take into account the secretPath configuration parameter

1.5.4. Red Hat build of Apache Camel for Spring Boot version 4.4.1 fixed issues

The following sections list the issues that have been resolved in Red Hat build of Apache Camel for Spring Boot version 4.4.1.

Expand
Table 1.4. Red Hat build of Apache Camel for Spring Boot version 4.4.1 resolved issues
IssueDescription

CSB-1950

[CSB Examples] - javax dependency requested for camel-jira example

CSB-3055

Camel AWS Kinesis: support checkpoint

CSB-3096

CVE-2022-41678 activemq: Apache ActiveMQ: Deserialization vulnerability on Jolokia that allows authenticated users to perform RCE

CSB-3222

The camel-spring-boot-bom still references upstream Artemis client libraries and cause error if mixed use them

CSB-3319

CVE-2023-51079 mvel: TimeOut error when calling ParseTools.subCompileExpression() function

CSB-3455

CVE-2024-1023 vert.x: io.vertx/vertx-core: memory leak due to the use of Netty FastThreadLocal data structures in Vertx

CSB-3666

CVE-2024-1300 vertx-core: io.vertx:vertx-core: memory leak when a TCP server is configured with TLS and SNI support

CSB-3778

CVE-2024-22201 jetty: stop accepting new connections from valid clients

CSB-3841

CVE-2024-1597 pgjdbc: PostgreSQL JDBC Driver allows attacker to inject SQL if using PreferQueryMode=SIMPLE

CSB-3844

CVE-2024-1597 pgjdbc: PostgreSQL JDBC Driver allows attacker to inject SQL if using PreferQueryMode=SIMPLE

CSB-3945

CVE-2024-22257 spring-security: Broken Access Control With Direct Use of AuthenticatedVoter

CSB-4010

CVE-2024-29025 netty-codec-http: Allocation of Resources Without Limits or Throttling

CSB-4027

CVE-2024-23081 threetenbp: null pointer exception

CSB-4046

Saxon library used by camel-saxon wrongly transform xml node

CSB-4105

Include jackson-bom in the list of artifacts that we are overriding in platform bom

CSB-4176

CVE-2024-30171 org.bouncycastle-bcprov-jdk18on: bc-java: BouncyCastle vulnerable to a timing variant of Bleichenbacher (Marvin Attack)

CSB-4249

Bug on Camel documentation on "Setting up SSL for HTTP Client"

CSB-4353

camel-jbang - generated pom.xml with "--camel-spring-boot-version" option includes garbage characters

CSB-4356

XPath conversions failing in CSB 4.4

CSB-4525

[camel-cics] reset message body when CICS transaction failed

CSB-4533

failed route should be visible in spring-boot actuator/camelroutes

CSB-4589

Generated pom.xml file by camel-jbang export command is not suitable for Red Hat products

CSB-4596

camel export command with "camel-spring-boot-version" option does not work

CSB-4618

Unexpected change of behavior on method Message.getBody(Class)

CSB-4624

CVE-2024-5971 undertow: response write hangs in case of Java 17 TLSv1.3 NewSessionTicket

CSB-4642

request-reply over JMS example should use replyToConcurrentConsumers instead of concurrentConsumers

CSB-4652

CVE-2024-30172 org.bouncycastle:bcprov-jdk18on: Infinite loop in ED25519 verification in the ScalarUtil class

CSB-4658

CVE-2024-29857 org.bouncycastle:bcprov-jdk18on: org.bouncycastle: Importing an EC certificate with crafted F2m parameters may lead to Denial of Service

CSB-4669

CVE-2024-6162 undertow: url-encoded request path information can be broken on ajp-listener

CSB-4676

Missing Jackson Jakarta RS XML provider from Maven repository

CSB-4751

CAMEL-20921 - Route configuration is not loaded on a Camel application XML file

CSB-4776

Upgrade to boucy castle 1.78 break camel-crypto

CSB-4823

Unsupported components show 4.4.0-SNAPSHOT version

1.5.5. Red Hat build of Apache Camel for Spring Boot version 4.4.0 Enhancements

The following sections list the issues that have been resolved in Red Hat build of Apache Camel for Spring Boot version 4.4.0.

Expand
Table 1.5. Red Hat build of Apache Camel for Spring Boot version 4.4.0 Enhancements
IssueDescription

CSB-470

Support Hawtio console for Camel for Spring Boot

CSB-1246

camel-olingo4 support

CSB-1693

Adding a Kafka Batch Consumer

CSB-2460

[RFE] Support component camel-smb

CSB-2479

Enhancing XML IO DSL to support beans like in YAML DSL

CSB-2649

Camel for Spring Boot support for IBM Z/P

CSB-2841

Provide support to configure algorithm for camel-ssh component

CSB-2968

Add support for camel-flink

CSB-2973

Add Azure SAS support for azure blob storage

CSB-3025

Create and support a new Camel CICS component

CSB-3061

Support component camel-splunk

CSB-3236

Offline Maven Builder Script

CSB-3244

Support component camel-jasypt

CSB-3357

Support component camel-kudu

CSB-3331

Support cxf-integration-tracing-opentelemetry

CSB-3371

Support component camel-groovy

CSB-3462

BeanIO support

CSB-4117

camel-cics - support connectivity via channels

1.5.6. Red Hat build of Apache Camel for Spring Boot version 4.4.0 fixed issues

Expand
Table 1.6. Red Hat build of Apache Camel for Spring Boot version 4.4.0 resolved issues
IssueDescription

CSB-1913

CVE-2023-35116 jackson-databind: denial of service via cylic dependencies

CSB-2007

CVE-2023-2976 guava: insecure temporary directory creation

CSB-2041

AWS SQS component, OCP probes cause POD error

CSB-2139

[Micrometer Observability] Unable to see trace id and span id in MDC

CSB-2644

Please provide examples that show Camel AMQP/JMS used with a connection pool

CSB-2846

CVE-2023-5632 mosquitto: Possible Denial of Service due to excessive CPE consumption

CSB-3042

[camel-mail] java.lang.ClassNotFoundException: org.eclipse.angus.mail.imap.IMAPStore

CSB-3294

Dependency convergence error for org.ow2.asm:asm when using CXF and JSON Path

CSB-3298

Dependency convergence error for org.bouncycastle:bcprov-jdk18on:jar:1.72

CSB-3302

Add support for findAndModify Operation

CSB-3316

CVE-2023-51074 json-path: stack-based buffer overflow in Criteria.parse method

CSB-3331

Support cxf-integration-tracing-opentelemetry

CSB-3438

CVE-2024-21733 tomcat: Leaking of unrelated request bodies in default error page

CSB-3454

camel-bean - Allow to configure bean introspection cache on component

CSB-3601

Dependency convergence errors when using cxf-rt-rs-service-description-openapi-v3:4.0.2.fuse-redhat-00046 and camel-openapi-java-starter:4.0.0.redhat-00039

CSB-3713

CVE-2023-45860 Hazelcast: Permission checking in CSV File Source connector

CSB-3716

AMQP publisher application is losing messages with local JMS transaction enabled

CSB-3722

CVE-2024-26308 commons-compress: OutOfMemoryError unpacking broken Pack200 file

CSB-3725

commons-compress: Denial of service caused by an infinite loop for a corrupted DUMP file [rhint-camel-spring-boot-4]

CSB-3731

restConfiguration section is ignored when using XML DSL IO

CSB-3765

Issue while marshalling/ummarshalling XML to JSON.

CSB-3837

CVE-2023-5685 xnio: StackOverflowException when the chain of notifier states becomes problematically big

CSB-3851

onException handler does not set content in the body response when used with servlet/platform-http

CSB-3884

[Camel-sap] Unable to connect to SAP server through CSB configuration properties

CSB-3892

camel-file - Can ant filter be optimized when using min/max depth with orphan marker file check

CSB-3916

NPE occurs If user uses OpenTelemetryTracingStrategy and opentelemetry.exclude-patterns to exclude "direct*"

CSB-3922

OpenTelemetryTracingStrategy separates a trace into 2 branches with opentelemetry.exclude-patterns "process*" or "bean*"

CSB-3925

Request to offer connection pooling in camel-cics

CSB-4022

Put a max default configurable limit on the Jose P2C parameter & Only explicitly return the stylesheet in WadlGenerator and not other URLs

CSB-4092

Type Conversion Error from byte[] to Long in Camel 4 from Kafka Topic for JMS* headers

CSB-4095

camel-salesforce - startup error

CSB-4102

CVE-2024-22262 springframework: URL Parsing with Host Validation

CSB-4966

CVE-2024-29736 org.apache.cxf/cxf-rt-rs-service-description: SSRF via WADL stylesheet parameter

CSB-4969

CVE-2024-32007 org.apache.cxf/cxf-rt-rs-security-jose: apache: cxf: org.apache.cxf:cxf-rt-rs-security-jose: Denial of Service vulnerability in JOSE

1.6. Known issues for Red Hat build of Apache Camel for Spring Boot

The following sections list known issues for Red Hat build of Apache Camel for Spring Boot.

1.6.1. Red Hat build of Apache Camel for Spring Boot version 4.4 known issues

CSB-4318 Fail to deploy on OCP using Openshift Maven Plugin if spring.boot.actuator.autoconfigure is not in the dependencies

Jkube maven plugin uses the following condition to check if the application exposes health endpoint (using SpringBootHealthCheckEnricher). Both classes are in the classpath:

  • org.springframework.boot.actuate.health.HealthIndicator
  • org.springframework.web.context.support.GenericWebApplicationContext

However, the /actuator/health wil be not exposed without the configuration of the actuator. This creates discordance between the readiness/liveness probes configured by JKube (they both uses the above endpoint) and what the application is exposing.

This misconfiguration causes a failing deployment config on OpenShift Container Platform since the generated pod will never be in Ready status since the probe`s call for an endpoint is not configured. So in order to make the application work on OpenShift Container Platform, which is deployed using JKube (openshift-maven-plugin), it is necessary to have both web and actuator autoconfiguration in the dependencies.

Following example shows how to configure web and actuator autoconfiguration.

Example

<dependency>
 <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
Copy to Clipboard Toggle word wrap

Update the archetype as shown below. The applications built from the following archetype will be deployed correctly using JKube.

<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-web</artifactId>
    <exclusions>
      <exclusion>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-tomcat</artifactId>
      </exclusion>
    </exclusions>
</dependency>
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-undertow</artifactId>
</dependency>
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
Copy to Clipboard Toggle word wrap

This issue affects the custom applications with missing one of the above dependencies.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat