328장. StAX Component

Camel 버전 2.9에서 사용 가능

StAX 구성 요소를 사용하면 SAX ContentHandler 를 통해 메시지를 처리할 수 있습니다.
이 구성 요소의 또 다른 기능은 StAX를 사용하여ECDHEB 레코드를 반복할 수 있도록 하는 것입니다(예: Splitter EIP 사용).

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

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

328.1. URI 형식

stax:content-handler-class

예:

stax:org.superbiz.FooContentHandler

Camel 2.11.1 이상에서는 다음과 같이 # 구문을 사용하여 레지스트리에서 org.xml.sax.ContentHandler Bean을 조회할 수 있습니다.

stax:#myHandler