Red Hat Camel K is no longer supported.
As of June 30, 2025, Red Hat build of Camel K has reached End of Life. The suggested replacements is Red Hat build of Apache Camel. For details about moving, see the Camel K to Camel Quarkus migration guide.4.3. Camel インテグレーションコンポーネントの設定
Camel コンポーネントは、インテグレーションコードにプログラミングを使用して設定でき、実行時にコマンドラインで設定プロパティーを使用して設定することもできます。以下の構文を使用して Camel コンポーネントを設定できます。
camel.component.${scheme}.${property}=${value}
camel.component.${scheme}.${property}=${value}
たとえば、段階的なイベント駆動型アーキテクチャーの Camel seda
コンポーネントのキューサイズを変更するには、コマンドラインで以下のプロパティーを設定します。
camel.component.seda.queueSize=10
camel.component.seda.queueSize=10
前提条件
手順
kamel run
コマンドを入力し、--property
オプションを使用して Camel コンポーネント設定を指定します。以下に例を示します。kamel run --property camel.component.seda.queueSize=10 examples/Integration.java
kamel run --property camel.component.seda.queueSize=10 examples/Integration.java
Copy to Clipboard Copied!