Hi Aditya,
I have tested your configs and could observe the same behavior. Foreach
mediator is working properly.
This behavior is happening due to the Log mediator and it is fixed in [1].
[1] https://wso2.org/jira/browse/ESBJAVA-5202
Thanks
Sudharma
On Wed, Jul 12, 2017 at 2:04 PM, Vinod
Hi Aditya,
Please use Iterate mediator with the Aggregate mediator. Please refer [1],
it explains the difference between the forEach and Iterate mediators.
[1] - https://docs.wso2.com/display/ESB490/ForEach+Mediator
Thanks,
Vinod
On Wed, Jul 12, 2017 at 1:34 PM, Sudharma Subasinghe
Hi,
Foreach mediator is working properly, above issue can be occurred when log
mediator is invoking.
On Tue, Jul 11, 2017 at 2:48 PM, aditya shivankar <
shivankar.adit...@gmail.com> wrote:
> Foreach is not working properly under AggregateMediator's scope in
> response flow
>
> Input request :
>
Foreach is not working properly under AggregateMediator's scope in response
flow
Input request :
[
{
"name" : "Home"
},
{
"name" : "Car"
},
{
"name" : "Mobile"
}
]
I am using iterate, to send each element of above array as request to a
passthrough service( In myactual project this is not pass