[esb-java-user] Splitting and aggregating the responses
Ruwan Linton
ruwan at wso2.com
Fri May 23 07:51:48 PDT 2008
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
More information about the Esb-java-user
mailing list