camel-XSTL component

来源:互联网 发布:程序员自我评价幽默 编辑:程序博客网 时间:2024/04/28 09:27

XSTL component:



from("file://rider/inbox")

.to("xslt://camelinaction/transform.xsl")

.to("activemq:queue:transformed")

文件的消费者将文件路由到XSLT component,并使用Style sheet样式来转换负载的信息。转换之后,信息被路由到jms producer队列。


XSTL component加载style sheet样式支持的前缀:


<none>: camel从classpath中加载资源文件

classpath: camel从classpath地址中加载资源文件

file: camel从文件系统中加载资源文件

http: camel从URL中加载资源文件

0 0
原创粉丝点击