Building a cache with Talend SOAP webservices

2019-07-31 17:55发布

I am trying to build a cache for a SOAP webservice in Talend : an input parameter "reinitCache" can be set to true if the cache has to be rebuilt (like once a day). Otherwise the cache is simply read , and the SOAP response is sent.

Unfortunately, I tried to do this with tHash components, and while it is working well inside the studio, once deployed on Karaf it is not working anymore : around 50% of the time, an error "tHash is not initialized" is risen.Sample of my job . It seems like tHash components are not always accessible.

Is there a safer way to do it ? I also tried with tBuffer without success.

0条回答
登录 后发表回答