我有一个名为:的 LocalEntry Test
,其内容如下并保存在本地文件系统中。
<test>
<value1>a</value1>
</test>
我可以value1
使用这样的属性来检索:
<property name="value" expression="get-property('Test')/*[local-name()='value1']/text()" type="string" scope="default" />
但是,我不能通过属性调解器或丰富调解器更改 LocalEntry 文件的内容,我的丰富配置如下:
<enrich>
<source clone="true" xpath="$ctx:newValue"/>
<target xpath="get-property('Test')/*[local-name()='value1']/text()"/>
</enrich>
我在 ESB-5.0.0 中有这个精确的配置,它就像一个魅力。
为什么我不能在 EI-6.6.0 中做同样的事情?有没有替代的解决方案?