[esb-java-user] Splitting and aggregating the responses

Ruwan Linton ruwan at wso2.com
Tue May 27 01:30:15 PDT 2008


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
>> Esb-java-user at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>
>>
>>     
>
>   




More information about the Esb-java-user mailing list