Thanks Nirmal. I followed this approach!

On Wed, Jul 19, 2017 at 12:07 PM, Nirmal Fernando <[email protected]> wrote:

> 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 <[email protected]>
> 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: [email protected] b: https://medium.com/@lahirugmg
>> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Technical Lead, WSO2 Inc.
> Mobile: +94715779733 <071%20577%209733>
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
--

Lahiru Sandaruwan
Associate Technical Lead,
WSO2 Inc., http://wso2.com

lean.enterprise.middleware

m: +94773325954
e: [email protected] b: https://medium.com/@lahirugmg
in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to