Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
sdcosta1983
Contributor
Contributor

Talend tRESTClient retry

Hi,

I am using tRESTClient to post a message.

When get a bad request or not able to communicate for the first attempt, I want to retry for atleast 3 times. I have checked tRESTClient component and don't seem to have retry options.

Can you please shed some light on this?

Many Thanks,

Sam

Labels (3)
2 Replies
David_Beaty
Specialist
Specialist

Hi Sam,

 

You'll need to implement something yourself to retry. I suggest you look at a tLoop (in WHILE mode) and tJavaFlex (with try/catch).

 

Thanks

 

David

 

If you find these answers helpful, don't forget to Like and/or set as the answer

sdcosta1983
Contributor
Contributor
Author

Hi @David Beaty​ ,

 

Thank you for the inputs. I have used try catch and it seems working well the logic.

 

Do you know how to pass Global variable from one cTalendJob to another cTalendJob? Please share your thoughts

 

Thanks in advance

Sam