375.3. variables

XPath의 변수는 서로 다른 네임 스페이스에 정의되어 있습니다. 기본 네임스페이스는 http://camel.apache.org/schema/spring 입니다.

네임스페이스 URI로컬 부분유형설명

http://camel.apache.org/xml/in/

in

메시지

exchange.in 메시지

http://camel.apache.org/xml/out/

out

메시지

exchange.out 메시지

http://camel.apache.org/xml/function/

함수

개체

Camel 2.5: 추가 기능

http://camel.apache.org/xml/variables/environment-variables

env

개체

OS 환경 변수

http://camel.apache.org/xml/variables/system-properties

system

개체

Java System 속성

http://camel.apache.org/xml/variables/exchange-property

 

개체

교환 속성

Camel은 다음 중 하나에 따라 변수를 해결합니다.

  • 지정된 네임스페이스
  • 네임스페이스가 지정되지 않음

375.3.1. 지정된 네임스페이스

네임스페이스가 지정되면 Camel에 정확히 반환할 내용이 표시됩니다. 그러나 Camel 내 또는 out Camel을 사용하면 먼저 로컬 파트가 지정된 헤더를 확인한 후 반환합니다. 로컬 부분에 값 본문이 있는 경우 본문 이 대신 반환됩니다.