我需要将“ paginationPayload”属性中的元素(有效载荷主体)添加为元素数组。
<iterate continueParent="true" expression="//orders" id="orderPaginationItr">
<target>
<sequence>
<enrich>
<source clone="true" type="body"/>
<target action="child" property="paginationPayload" type="property"/>
</enrich>
<log level="custom">
<property expression="get-property('paginationPayload')" name="Request Payload : "/>
</log>
</sequence>
</target>
</iterate>
<log level="custom">
<property expression="get-property('paginationPayload')" name="Paginated Payload : "/>
</log>
在Enrich + Mediator内部,它分配给属性,但是从迭代的Mediator中出来,“ paginationPayload”属性被记录为空。