What about following;

Iterate -> keep the message in a property (<a>) -> call back-end -> enrich
response & property -> aggregate ?

On Wed, Jul 19, 2017 at 10:16 PM, Lahiru Sandaruwan <lahi...@wso2.com>
wrote:

> Hi All,
>
> I have an use case for $subject. Requirement is to do calls parallelly and
> keep the relationship.
>
> For example, I'm iterating through <a> tages, where each request will have
> <id>,
>
> <b>
>     <a>
>         <id>1</id>
>     </a>
>     <a>
>         <id>2</id>
>     </a>
> </b>
>
> Response would look like below, without any information about <id>
>
> <c>
>     <d>info1</d>
> </c>
>
> Is there a way to build something like below with iterator mediator(Note
> that I'm using 4.8.1)?
>
> <b>
>     <a>
>         <id>1</id>
>         <c>
>             <d>info1</d>
>         </c>
>     </a>
>     <a>
>         <id>2</id>
>         <c>
>             <d>info2</d>
>         </c>
>     </a>
> </b>
>
> Thanks.
> --
> --
>
> Lahiru Sandaruwan
> Associate Technical Lead,
> WSO2 Inc., http://wso2.com
>
> lean.enterprise.middleware
>
> m: +94773325954 <+94%2077%20332%205954>
> 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
>
>


-- 

Thanks & regards,
Nirmal

Technical Lead, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to