32.9. 变量命名空间

命名空间表

表 32.3 “XPath 变量命名空间” 显示与各种命名空间前缀关联的命名空间 URI。

表 32.3. XPath 变量命名空间

命名空间 URIprefix描述

http://camel.apache.org/schema/spring

None

默认命名空间(与没有命名空间前缀的变量关联)。

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

in

用于引用当前交换的标题或正文 消息

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

out

用于引用当前交换出消息的标题或正文。

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

功能

用于引用某些自定义功能。

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

env

用于引用 O/S 环境变量。

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

system

用于引用 Java 系统属性。

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

未定义

用于引用交换属性。您必须为此命名空间定义自己的前缀。