wso2 ESB : Split / Gather Pattern - Single Response

萝らか妹 提交于 2019-11-30 14:31:09

What you need to do is, mention any id in the iterator mediator (refer iterator mediator docs) and refer the same id in aggregator mediator as the correlation id. That's it. –

The aggregate mediator supports an attribute enclosingElementProperty which surrounds the responses with a single parent element. This simplifies your enrich trick:

<property name="ROOT" scope="default">
    <root:rootelement xmlns:root="www.wso2esb.com"/>
</property>
<aggregate>
    <completeCondition>
        <messageCount min="-1" max="-1"/>
    </completeCondition>
    <onComplete expression="//dummy" enclosingElementProperty="ROOT">
    </onComplete>
</aggregate>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!