Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-08 Thread Riyafa Abdul Hameed
Hi, The EI 6.2.0 has been released[1]. Can you test with the cache mediator and let us know if the issue persists? [1] https://wso2.com/integration/install/download/?type=downloader Regards, Riyafa On Sat, Apr 7, 2018 at 12:59 PM, aditya shivankar < shivankar.adit...@gmail.com> wrote: > Hi Sh

Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-07 Thread aditya shivankar
Hi Shakila *,* Yes for this* mock backend which returns a simple JSON payload , even I didn't get the mentioned error. * But when i am trying with our *backend service which is returning a big json response of about 2000 lines. * *The backend response contains some "$id": "2", "$type": "A.B, C.D"

Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-04 Thread Shakila Sasikaran
Hi Aditya, I tested your API configuration with a mock backend which returns a simple JSON payload and I didn't get the mentioned error. Please find the configurations [2]. [1] { "test": "test" } [2] API: http://ws.apache.org/ns/synapse"; name="cacheAPI2" context="/cache2">

Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-04 Thread aditya shivankar
Respected Sir/Madam, If you are able to store any json response into cache. Using any freely available rest service on net. Please share me the api example. Thanks and Regards, Aditya On Wed, Apr 4, 2018 at 10:22 PM, aditya shivankar < shivankar.adit...@gmail.com> wrote: > Respected Sir/Madam,

Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-04 Thread aditya shivankar
Respected Sir/Madam, I am using wso2ei 6.1.1 . The backend service is returning a big json response of about 2000 lines. If I remove cache mediator both finder and collector from above service. I am able to receive the backend response in wso2ei api service. The backend response contains some "

Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-04 Thread Riyafa Abdul Hameed
This is similar to this issue[1]. Which version are you using? [1] https://wso2.org/jira/browse/ESBJAVA-4318 On Wed, Apr 4, 2018 at 5:07 PM, Thishani Lucas wrote: > Hi Aditya, > > Could you please elaborate more about the response sent by the backend? > What kind of message type does it send? >

Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-04 Thread Thishani Lucas
Hi Aditya, Could you please elaborate more about the response sent by the backend? What kind of message type does it send? Thanks, Thishani On Wed, Apr 4, 2018 at 4:26 PM, aditya shivankar < shivankar.adit...@gmail.com> wrote: > Respected Madam, > > Tried adding " action="remove"/>". > > But st

Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-04 Thread aditya shivankar
Respected Madam, Tried adding "". But still got the same error. Plus the rest service i am using is not returning empty response, tested it. http://ws.apache.org/ns/synapse ">

Re: [Dev] Cache mediator not working good for storing json responses.

2018-04-04 Thread Thivya Mahenthirarasa
Hi Adiya, According to the logs, you are receiving 202 accepted success code, that means the response cached for the Endpoint might returning an empty body. Could you please add the following property before cache mediator in order to return the body from the cache to the Endpoint. Try ou