Hi

I need to call a backend service as many times as there are elements in my
request array.

The response of the backend rest service is very huge for each request
array element(min 2k to 3k lines)  .

But When I provide Xpath  in iterator mediator, as given in wso2 documents
it internally converts json to XML. Which ( json to XML conversion and
vice-versa) will definitely hamper my application performance in production
when several requests come at same time, as I already mentioned backend
service response is quite huge each time and is in json format.

For sending the request to the backend service I am using iterate mediator
which only allows Xpath as input.

I am aggregating all responses in one response xml using aggregator
mediator. which also is taking Xpath as input. That means again json to xml
conversion will take place again.



I need to do it synchronously because the response is immediately required
to be displayed on my application screen.

Could you please guide me, is there any way iterate , aggregate, foreach
mediators will accept jsonpath as input instead of Xpath. So that I could
get rid off these internal json-xml conversions.
or is there any other efficient way to process json requests within wso2.

Thanks,
Aditya
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to