如何在apachecamel中读取groovy中已经设置的属性值

问题描述

我一直在读取 groovy 中的属性值。我可以看到记录器的值。 例子:

<setProperty propertyName="path">
   <xpath resultType="java.lang.String">//*[local-name()='FileRef']/text()</xpath>
</setProperty>
<log message="${property.path}"/>
<setBody>
 <groovy>
  println (I want to use path value here which again needs to be prefix with some url which we have in property file)
-------
</groovy>
</setBody>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)