173장. JGroups 구성 요소

Camel 버전 2.13에서 사용 가능

JGroups 는 신뢰할 수 있는 멀티 캐스트 통신을 위한 툴킷입니다. jgroups: 구성 요소는 Camel 인프라와 JGroups 클러스터 간의 메시지를 교환할 수 있습니다.

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

<dependency>
    <groupId>org.apache-extras.camel-extra</groupId>
    <artifactId>camel-jgroups</artifactId>
    <!-- use the same version as your Camel core version -->
    <version>x.y.z</version>
</dependency>

Camel 2.13.0 부터 JGroups 구성 요소가 Apache Camel의 포괄적 하에서 Camel Extra에서 변경되었습니다. Camel 2.13.0 이상을 사용하는 경우 다음 POM 항목을 대신 사용하십시오.

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

173.1. URI 형식

jgroups:clusterName[?options]

여기서 clusterName 은 구성 요소가 연결해야 하는 JGroups 클러스터의 이름을 나타냅니다.