16.19. 일반 CXF Dispatch 모드 사용
camel-cxf 구성 요소는 임의의 구조의 메시지를 전송할 수 있는 일반 CXF 디스패치 모드를 지원합니다(즉, 특정 XML 스키마에 바인딩되지 않음). 이 모드를 사용하려면 CXF 끝점의 wsdlURL 및 serviceClass 속성을 지정하면 됩니다.
<cxf:cxfEndpoint id="testEndpoint" address="http://localhost:9000/SoapContext/SoapAnyPort">
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD"/>
</cxf:properties>
</cxf:cxfEndpoint>
기본 CXF 디스패치 클라이언트는 특정 10.0.0.1Action 헤더를 전송하지 않습니다. 따라서 대상 서비스에 특정 10.0.0.1Action 값이 필요한 경우 키의 10.0.0.1Action(대/소문자를 구분하지 않음)을 사용하여 Camel 헤더에 제공됩니다.