Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Experts,
We have a Large Batch job that run sequence of database calls for over 30mins. We have converted this to Rest Service using ESB.
Now the issue is, I want to send the rest response with some "success Launch" message immediately without the need of waiting for the entire SubJob completion, but I'm receiving Rest Response in postman only after completion of entire Job.
Can I create an asynchronous Rest Service in Talend?
Thanks In Advance.
Regards,
Mohan
Hi mbondada,
By using tRestresponse component we can send response , after receiving request.
So we have to log request in a file or temp.
Hi Ravi,
I want to create a process some thing like the one in attached screenshot.
I don't want to log request in a file for further processing.
I want to receive request details, then respond back with "OK" message and asynchronously launch the SubJob.
Thanks for the Reply.
Hi mbondada,
Please have attached screenshot of the job flow.
Hi Ravi,
I redesigned this way, but still the job taking same amount of time.
@uganeshwrote:
Hi mbondada,
Please have attached screenshot of the job flow.
Do you have the Enterprise Edition? If so you can use the MetaServelt API to trigger a job in the TAC and get an immediate response to say the job has been triggered. This will allow your immediate response in your service.
We are using the free edition, not enterprise edition. Thanks for the reply.