Red Hat build of Apache Camel for Spring Boot のリリースノート


Red Hat build of Apache Camel 4.10

Red Hat build of Apache Camel の新機能

Red Hat build of Apache Camel Documentation Team

概要

Red Hat build of Apache Camel 製品を説明し、このリリースの新機能に関する最新の詳細情報を提供します。

第1章 Red Hat build of Apache Camel for Spring Boot 4.10 リリースノート

1.1. Red Hat build of Apache Camel for Spring Boot の機能

Red Hat build of Apache Camel for Spring Boot では、多くの Camel コンポーネントの Camel とスターターの自動設定を提供する Spring Boot の Camel サポートが導入されています。Camel コンテキストの独自の自動設定は、Spring コンテキストで使用可能な Camel ルートを自動検出し、主要な Camel ユーティリティー (プロデューサーテンプレート、コンシューマーテンプレート、型コンバーターなど) を Bean として登録します。

1.2. Red Hat build of Apache Camel for Spring Boot でサポートされているプラットフォーム、設定、データベース、エクステンション

  • Red Hat build of Apache Camel for Spring Boot でサポートされているプラットフォーム、設定、およびデータベースの詳細は、カスタマーポータルの サポートされる構成 ページを参照してください (ログインが必要です)。
  • Red Hat build of Apache Camel for Spring Boot エクステンションのリストは、Red Hat build of Apache Camel for Spring Boot リファレンス を参照してください (ログインが必要です)。

1.3. javax から jakarta へのパッケージ名前空間の変更

Java EE は Eclipse Foundation に移行し、Jakarta EE が設立されました。Jakarta EE 9 以降、すべての EE API に使用されるパッケージは jakarta.* に変更されました。

ドキュメント内のコードスニペットは jakarta.* 名前空間を使用するように更新されています。ただし、お客様のアプリケーションは注意してご確認いただく必要があります。

注記

この変更は、Java SE に含まれる javax パッケージには影響しません。

アプリケーションを EE 10 に移行する場合は、次のことを行う必要があります。

  • import ステートメントまたはその他のソースコードにおける EE API クラスの使用を javax パッケージから jakarta に更新します。
  • 名前が javax. で始まる EE 指定のシステムプロパティーまたはその他の設定プロパティーを、jakarta. で始まるものに変更します。
  • META-INF/services/jakarta.[rest_of_name] 名前形式を使用して、実装 EE インターフェイスを使用するアプリケーション内の実装クラス、または java.util.ServiceLoader メカニズムでブートストラップされる抽象クラスを識別します。

1.3.1. 移行ツール

1.4. Red Hat build of Apache Camel for Spring Boot に関する重要事項

1.4.1. IBM Power および IBM Z のサポート

Red Hat build of Camel Spring Boot が IBM Power および IBM Z でサポートされるようになりました。

1.4.2. snowdrop groupId の変更

snowdrop groupId が me.snowdrop から dev.snowdrop に変更されます。それに応じて pom.xml ファイルを更新する必要があります。

1.4.3. AWS Secret Manager コンポーネントスターターの Secret Refresh 機能で Camel コンテキストの自動リロードを使用する

Automatic Camel context reloading on Secret Refresh 使用するには、UI 経由または PutSecretValue 操作を使用した API 呼び出し経由でシークレットの更新を実行する必要があります。Camel 経由で updateSecret を実行しても、Camel コンテキストのリロードはトリガーされません。

1.5. Red Hat build of Apache Camel for Spring Boot ビルドの修正された問題

次のセクションでは、Red Hat build of Apache Camel for Spring Boot で解決された問題を記載します。

1.5.1. Red Hat build of Apache Camel for Spring Boot バージョン 4.10 で修正された問題

以下のセクションでは、Red Hat build of Apache Camel for Spring Boot バージョン 4.10 で解決された問題をリストします。

表1.1 Red Hat build of Apache Camel for Spring Boot バージョン 4.10 で解決された問題
問題説明

CSB-4171

camel-graphql のサポートを追加

CSB-4661

プレーン CXF SOAP シナリオのサポート

CSB-4995

Kamelets と Pipes のサポートを追加

CSB-5483

ヘッダー置換による <toD> の奇妙な動作

CSB-5648

jaxws:client のアドレスプレースホルダーが XML で設定されている場合に解決されない

CSB-5823

Redshift kamelet: DataSource の設定に失敗する

CSB-5875

camel-platform-http-starter は restConfiguration のすべての機能を実装していない

CSB-6248

camel-jaxb - JaxbDataFormat ignoreJAXBElement はデフォルトで true

CSB-6282

Spring Security を使用して Camel の Route Security の実装例を作成する

CSB-6304

[Doc] OCP 上の Java ランタイムの "lib/" ディレクトリーに SAP JCo および SAP IDoc ライブラリーをインストールする手順が不足している

CSB-6358

サポートコンポーネント camel-observability-services

CSB-6464

CamelLivenessStateHealthIndicator ログに必要な追加情報

CSB-6466

camel-kubernetes における javax の依存関係

CSB-6469

サポートコンポーネント camel-ssh

CSB-6527

camel-infinispan-starter は、最新の製品化された JDG では動作しない

CSB-6687

サポートコンポーネント camel-smooks

CSB-6739

依存関係 org.apache.camel/camel-console によりビルド時間が長くなる

CSB-6742

Red Hat build of Apache Camel BOM には UPSTREAM Artemis BOM が含まれる

CSB-6761

EIP: endChoice() はネストされた選択肢の親を取得できない

CSB-6766

strimzi クイックスタート/Kubernetes プロファイルを削除する

CSB-6812

[CAMEL-22001]camel-core - Kamelet と EIP は交換変数を伝播する必要がある

CSB-6855

kamelets: Bean が見つからないため、camel のエクスポートが失敗する

CSB-6865

[AWS-Kinesis] KCL Consumer モード使用時の kinesisClient Bean のエラー

CSB-6936

jbang export を実行すると、java.lang.ClassNotFoundException: org.apache.camel.kamelets.catalog.KameletsCatalog が発生します。

CSB-6943

Kamelet ExtractField が間違った Camel ExtractField クラスを参照する

CSB-6946

MongoDB のバージョンが正しく配置されない

CSB-6955

CVE-2025-1948 jetty-http2-common: Jetty HTTP/2 ヘッダーリストサイズの脆弱性

RHBAC-127

CAMEL-21828 のバックポート: 小文字モードでフィルター処理を行う際の DefaultHeaderFilterStrategy の修正

RHBAC-142

CAMEL-21876 のバックポート: Undertow ヘッダーフィルターストラテジー: フィルターも考慮するように対応

RHBAC-145

Camel CLI の export コマンドで製品バージョンが処理されない

1.6. Red Hat build of Apache Camel for Spring Boot の API の変更

次のセクションでは、Red Hat build of Apache Camel for Spring Boot に関する既知の問題を記載します。

1.6.1. Red Hat build of Apache Camel for Spring Boot バージョン 4.10.3 の API の変更

CSB-6748 メソッド AttachmentMessage.getAttachments() 戻り値が変更されました
AttachmentMessage.getAttachments() メソッドを使用すると、添付ファイルがない場合には null 値ではなく空のリストが返されます。

1.7. Red Hat build of Apache Camel for Spring Boot の既知の問題

次のセクションでは、Red Hat build of Apache Camel for Spring Boot に関する既知の問題を記載します。

1.7.1. Red Hat build of Apache Camel for Spring Boot バージョン 4.10.3 の既知の問題

CSB-6748 メソッド AttachmentMessage.getAttachments() 戻り値が変更されました
AttachmentMessage.getAttachments() メソッドを使用すると、添付ファイルがある場合に null 値ではなく空のリストが返されます。

1.7.2. Red Hat build of Apache Camel for Spring Boot バージョン 4.8.3 の既知の問題

CSB-6437 CXF opentelemetry - RHEL9 上の異なる http 要求から同じトレース ID を使用します
この問題は、RHEL 9 プラットフォーム上にカスタムトレース設定を持つ CXF および OpenTelemetry でのみ発生します。カスタム opentelemetry トレーサーが定義された CXF および opentelemetry の場合、複数の要求を呼び出すと、トレース ID が Camel ルートで再利用されるようです。その結果、各 http 要求に対して 1 つの新しいトレース ID が作成されるのではなく、各 http 要求の既存のトレースに新しいスパンが追加されます。回避策としては、次の例に示すように、ContextPropagatorsW3CTraceContextPropagator に明示的に定義します。
    @Bean
    ContextPropagators contextPropagators() {
       // return ContextPropagators.create(TextMapPropagator.composite(W3CBaggagePropagator.getInstance()));
       return ContextPropagators.create(W3CTraceContextPropagator.getInstance());
    }
Copy to Clipboard

1.7.3. Red Hat build of Apache Camel for Spring Boot バージョン 4.8.0 で既知の問題

CSB-4318 spring.boot.actuator.autoconfigure が依存関係にないと、Openshift Maven プラグインを使用して OCP にデプロイできない

Jkube Maven プラグインは、次の条件を使用して、アプリケーションがヘルスエンドポイントを公開しているかどうかを確認します (SpringBootHealthCheckEnricher を使用)。両方のクラスはクラスパス内にあります。

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

ただし、actuator の設定がなければ、/actuator/health は公開されません。これにより、JKube によって設定された readiness/liveness プローブ (両方とも上記のエンドポイントを使用) とアプリケーションが公開している内容との間に不一致が生じます。

この誤った設定により、エンドポイントに対するプローブの呼び出しが設定されていないため、生成された Pod が準備完了ステータスにならないため、OpenShift Container Platform でのデプロイメント設定が失敗します。したがって、JKube (openshift-maven-plugin) を使用してデプロイされる OpenShift Container Platform 上でアプリケーションを動作させるには、依存関係に Web と actuator の両方の自動設定が必要です。

次の例は、Web および actuator の自動設定を設定する方法を示しています。

<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

以下のようにアーキタイプを更新します。次のアーキタイプから構築されたアプリケーションは、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

この問題は、上記の依存関係のいずれかが欠落しているカスタムアプリケーションに影響します。

法律上の通知

Copyright © 2025 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat