67장. CometD Component

Camel 버전 2.0에서 사용 가능

cometd: 구성 요소는 cometd/bayeux 프로토콜jetty 구현 작업을 위한 전송입니다.
이 구성 요소를 dojo Toolkit 라이브러리와 함께 사용하면 AJAX 기반 메커니즘을 사용하여 Camel 메시지를 브라우저로 직접 푸시할 수 있습니다.

Maven 사용자는 이 구성 요소를 위해 다음 종속성을 pom.xml 에 추가해야 합니다.

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-cometd</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>

67.1. URI 형식

cometd://host:port/channelName[?options]

channelName 은 Camel 엔드포인트에서 서브스크립션할 수 있는 주제를 나타냅니다.