[esb-java-user] Splitting and aggregating the responses
Ruwan Linton
ruwan at wso2.com
Tue May 27 01:44:16 PDT 2008
Hi,
OK, I got your point, but unfortunately this cannot be done for the
moment. Well, it should be a trivial fix.
How critical is this for you? and also could you please file a JIRA for
this issue so that I can fix this ASAP.
Thanks,
Ruwan
j0na wrote:
> 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
>>>> Esb-java-user at wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>> _______________________________________________
>> 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