80.4. Functions
功能 | 参数 | 类型 | 描述 |
---|---|---|---|
in:body | none | 对象 |
|
|
| 对象 |
|
out:body | none | 对象 |
|
out:header |
| 对象 |
|
function:properties |
| 字符串 |
|
function:simple |
| 对象 |
|
注意
80.4.1.
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring" xmlns:foo="http://example.com/person"> <route> <from uri="activemq:MyQueue"/> <filter> <xpath>/foo:person[@name='James']</xpath> <to uri="mqseries:SomeOtherQueue"/> </filter> </route> </camelContext> </beans>