Hi, We do not have any samples at [1] for $subject. They all show having splitting requests in InSequence and aggregation in outSequence.
Q1, Is this recommended? Q2, If yes, shall we an a sample? For example, <clone id="test-agr"> <target> <sequence> * // do something* </sequence> </target> <target> <sequence> * // do something* </sequence> </target> </clone> <property name="Aggregated_Responses" scope="default"> <jsonObject/> </property> <aggregate id="test-agr"> <completeCondition> <messageCount max="-1" min="-1"/> </completeCondition> <onComplete enclosingElementProperty="Aggregated_Responses" expression="//jsonObject" xmlns:ns="http://org.apache.synapse/xsd"> *// do more with aggregated response* </onComplete> </aggregate> Cache mediator has a similar sample at [2], with specific property, <property name="RESPONSE" value="true" scope="default" type="STRING"/>. [1] https://docs.wso2.com/display/EI611/Aggregate+Mediator [2] https://docs.wso2.com/display/EI611/Cache+Mediator Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev