Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a job that requires 2 responses, the structure is like this.
Can you help me figure out how can I facilitate these 2 succeeding responses?
Yes, 2 tRESTResponse components.
For the status code, yes, select "<< custom >>" and enter 102 for the value, this the only way to use a status code which is not preconfigured into the component.
However I can't guarantee Talend authorize 2 responses for 1 request but it should as it is a standard behavior for REST services.
Thank you for your inputs @TRF.
However, it didn't worked, I still got this error java.lang.RuntimeException: Rest response already sent.
Unfortunately, I'm not good with Java, can you give me a suggestion how to do it? I'm trying to google it but I can't seem to find one.