Four Stars

trestrequest not update response

Hello,

 

I have create a REST interface for receving data from a database (postgres). For that I have take

trestrequests -> tflowtoiterate -> tpostgresinput -> tXMLMap->tRestResponse.

 

I have  12 Output flows from tRestRequest. For the most outputs the values (jsons) will be updated for every request, but for two not. If I query (SQL) the values over Postgres, I receive the new values, but over REST (for example SOAPUI or Chrome) the values are old. The modules are deployed on KARAF. Only if I start/stop the bundle the values are updated. What can be wrong?

 

Thx for your help

 

Benjamin

  • ESB
3 REPLIES
Community Manager

Re: trestrequest not update response

Hello
From your job, I don't see any update action on it, only query data from DB and return them. How do the data are update? via talend job or external app? Can you please explain more details about your issue?

Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Four Stars

Re: trestrequest not update response

Hello,

I have an other talend job, that update also over a rest request the data inside the db. Its insert new values for the table, and the sql query inside the talend job only return the newest. If I query this sql statement over postgres I receive the newest values but over REST not.
Four Stars

Re: trestrequest not update response

ok I fix the problem