If I have a XML with request of stockquote:
1º - IBM
2º - APPLE
3º - MICROSOFT
4º - HP
5º - DELL

When I catch de response I see:

1º response - IBM
2º response - APPLE
3º response - MICROSOFT
4º response - HP
5º response - DELL

The response have the same order of the request. Sorry for my english...


Ruwan Linton-3 wrote:
> 
> j0na wrote:
>> Ok, Is there a way to respect the order?
>>   
> Can you please explain what do you mean by respecting the order?
> 
> Thanks,
> Ruwan
>>
>> Ruwan Linton-3 wrote:
>>   
>>> j0na wrote:
>>>     
>>>> When split and agregate the response, the order is preserved?
>>>>   
>>>>       
>>> No there is no guarantee on the order because the splitted messages are 
>>> processed in parallel which ever response comes first will be appended 
>>> first.
>>>     
>>>> How the system works?
>>>>   
>>>>       
>>> Request message will be splitted into several messages and processed in 
>>> parallel and the responses are aggregated depending on a message 
>>> property which has been put at the splitting time.
>>>
>>> Basically, all the splitted messages will contain two properties namely 
>>> corelationID which is the parent message id and the messageSequence 
>>> which is something like 1/4, 2/4,...., 4/4 and so on.
>>>     
>>>> If I send two request, the ESB ads the two request toguether in the
>>>> response?
>>>>   
>>>>       
>>> This can be done by specifying the preservePayload attribute of the 
>>> aggregate mediator as true.
>>>
>>> Thanks,
>>> Ruwan
>>>
>>>
>>> _______________________________________________
>>> Esb-java-user mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>
>>>
>>>     
>>
>>   
> 
> 
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Splitting-and-aggregating-the-responses-tp17424281p17485636.html
Sent from the WSO2 ESB Users mailing list archive at Nabble.com.


_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to