【发布时间】:2015-12-15 19:39:02
【问题描述】:
我有下一个序列:
<payloadFactory>
<format>
<cb:accounts/>
</format>
<args/>
</payloadFactory>
<property name="accounts" type="OM" expression="//cb:accounts" />
...
<iterate id="accountIterator" continueParent="true" sequential="true" expression="//cb:accounts/cb:accountId">
<target>
<sequence>
...
<property name="accounts" type="OM" expression="//*" />
</sequence>
</target>
</iterate>
<aggregate id="accountIterator">
<onComplete expression="$body/child::*[fn:position()=1]">
<log level="custom" />
</onComplete>
</aggregate>
<enrich>
<source type="custom" xpath="get-property('accounts')"/>
<target type="body" />
</enrich>
为什么在“迭代”中介内设置的名为“accounts”的属性在“迭代”中介外有空值?
谢谢
【问题讨论】:
标签: properties wso2 esb mediator