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!