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


1.1. Red Hat build of Apache Camel for Spring Boot features

Red Hat build of Apache Camel for Spring Boot introduces Camel support for Spring Boot which provides auto-configuration of the 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 the key Camel utilities (like producer template, consumer template and the type converter) as beans.

1.2. Supported platforms, configurations, databases, and extensions for Red Hat build of Apache Camel for Spring Boot

1.3. Important notes

Documentation for Red Hat build of Apache Camel for Spring Boot components is available in the Red Hat build of Apache Camel for Spring Boot Reference. Documentation for additional Red Hat build of Apache Camel for Spring Boot components will be added to this reference guide.

1.3.1. 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.1. Migration tools

1.3.2. Migration from Fuse 7.11 to Red Hat build of Apache Camel for Spring Boot

This release contains a Migrating to Red Hat build of Apache Camel for Spring Boot documenting the changes required to successfully run and deploy Fuse 7.11 applications on Red Hat build of Apache Camel for Spring Boot. It provides information on how to resolve deployment and runtime problems and prevent changes in application behavior. Migration is the first step in moving to the Red Hat build of Apache Camel for Spring Boot platform. Once the application deploys successfully and runs, users can plan to upgrade individual components to use the new functions and features of Red Hat build of Apache Camel for Spring Boot.

1.3.3. 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.3.4. 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.4. Red Hat build of Apache Camel for Spring Boot Fixed Issues

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

1.4.1. Red Hat build of Apache Camel for Spring Boot version 4.0.3 Fixed Issues

The following table lists the resolved bugs in Red Hat build of Apache Camel for Spring Boot version 4.0.3.

Table 1.1. Red Hat build of Apache Camel for Spring Boot version 4.0.3 Resolved Bugs
IssueDescription

CSB-3105

CVE-2023-6378 logback: serialization vulnerability in logback receiver

CSB-3108

CVE-2023-6481 logback: A serialization vulnerability in logback receiver

CSB-3286

CVE-2023-4043 parsson: Denial of Service due to large number parsing

1.4.2. Red Hat build of Apache Camel for Spring Boot version 4.0.2 Fixed Issues

The following table lists the resolved bugs in Red Hat build of Apache Camel for Spring Boot version 4.0.2.

Table 1.2. Red Hat build of Apache Camel for Spring Boot version 4.0.2 Resolved Bugs
IssueDescription

CSB-2939

CVE-2023-5072 JSON-java: parser confusion leads to OOM

1.4.3. Red Hat build of Apache Camel for Spring Boot version 4.0 Fixed Issues

The following table lists the resolved bugs in Red Hat build of Apache Camel for Spring Boot version 4.0.

Table 1.3. Red Hat build of Apache Camel for Spring Boot version 4.0 Resolved Bugs
IssueDescription

CSB-1533

[cxfrs-component] camel-cxf-rest-starter needs cxf-spring-boot-autoconfigure

CSB-1760

CXF TrustedAuthorityValidatorTest failure

CSB-1765

Camel Saxon: java.lang.ArrayIndexOutOfBoundsException: Index 8192 out of bounds for length 8192

CSB-1950

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

CSB-1953

CXF misalignments

CSB-1981

CVE-2023-34462 netty: io.netty:netty-handler: SniHandler 16MB allocation [rhint-camel-spring-boot-3.18]

CSB-1992

spring-security ConsensusBased accessDecisionManager

CSB-2038

CVE-2023-33008 apache-johnzon: Prevent inefficient internal conversion from BigDecimal at large scale [rhint-camel-spring-boot-3.18]

CSB-2125

camel-openapi-java-starter throws an error on parsing openapi yaml

CSB-2128

Improve logging of JSch library

CSB-2168

CSB archetype missing parameters

CSB-2173

camel-salesforce contains javax transitive dependency

CSB-2215

cxf-services-xkms-itests is somehow present in cxf-bom

CSB-2230

camel-bindy org.apache.camel.util.ReflectionHelper.setField() has race condition

CSB-2249

Openshift Maven Plugin dependencies on MRRC

CSB-2253

CVE-2022-46751 apache-ivy: XML External Entity vulnerability [rhint-camel-spring-boot-3.18]

CSB-2258

CVE-2022-44730 batik: Server-Side Request Forgery vulnerability [rhint-camel-spring-boot-3.18]

CSB-2261

CVE-2022-44729 batik: Server-Side Request Forgery vulnerability [rhint-camel-spring-boot-3.18]

CSB-2278

jdbc and spring-jdbc transacted() does not work properly

CSB-2291

CVE-2023-26048 jetty-server: OutOfMemoryError for large multipart without filename read via request.getParameter() [rhint-camel-spring-boot-3.18]

CSB-2294

CVE-2023-26049 jetty-server: Cookie parsing of quoted values can exfiltrate values from other cookies [rhint-camel-spring-boot-3.18]

CSB-2324

[CAMEL-19814](camel-rest - Should filter out query parameters that are for the producer endpoint)

CSB-2476

CXF RS sent :status header and it causes error on OCP

CSB-2484

resource leak caused by new introduced in-jdk http-client since CXF 4.0.1

CSB-2595

CVE-2023-40167 jetty-http: jetty: Improper validation of HTTP/1 content-length [rhint-camel-spring-boot-3.18]

CSB-2598

No direct conversion from JAXBElement<Type> to Type

1.6. Additional resources

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.