trestrequest not update response

Seven 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

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
Seven 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.
Seven Stars

Re: trestrequest not update response

ok I fix the problem

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read