Hello,
This is what I need, I have a sequence that receive the following message:
<a>
<b>
...
</b>
<b>
...
</b>
<b>
...
</b>
</a>
I need to create a payload and invoke a service for each <b> element, but I
need to call the service for each element once the previous invocation has
finished, that's why I cannot use the iterate mediator and I need to create
a custom one, so, what I need is to receive the original message into the
custom one, split the message and then invoke each service, or maybe inject
the corresponding messages into the synapse...
I cannot use the iterate mediator with sequential = true because as far as
I know and have tested before, the sequential = true only prevents the
invocations to start sequentially but after that, all of them run in
parallel, I cannot use the foreach mediator because as far as I know, I
cannot use payload, or call mediators inside foreach, in facts, I have
tried and it seems like the original message get corrupted and the
execution of the sequence shows an unexpected behavior.
thanks,
john
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev