78.11.2. 대상 요소
camel:destination 요소와 그 하위 항목을 사용하여 Camel 전송 서버 끝점을 구성합니다. camel:destination 요소는 끝점에 해당하는 WSDL 포트 요소를 지정하는 단일 속성, name 을 사용합니다. name 속성의 값은 portQName'.camel-destination' 형식을 사용합니다. 아래 예제는 endpoint 조각 < port binding="widgetSOAPBinding" name="widgetSOAPPort" >에서 지정한 엔드포인트에 대한 구성을 추가하는 데 사용되는 camel:destination 요소를 보여줍니다.http://widgets.widgetvendor.net
Camel:destination Element
...
<camel:destination name="{http://widgets/widgetvendor.net}widgetSOAPPort.http-destination>
<camelContext id="context" xmlns="http://activemq.apache.org/camel/schema/spring">
<route>
<from uri="direct:EndpointC" />
<to uri="direct:EndpointD" />
</route>
</camelContext>
</camel:destination>
<!-- new added feature since Camel 2.11.x
<camel:destination name="{http://widgets/widgetvendor.net}widgetSOAPPort.camel-destination" camelContextId="context" />
...
Spring의 camel:destination 요소에는 구성 정보를 지정하는 여러 자식 요소가 있습니다. 아래에 설명되어 있습니다.
요소
설명
camel-spring:camelContext
camel 대상에 camel 컨텍스트를 지정할 수 있습니다.
camel:camelContextRef
camel 대상에 삽입할 camel context id