My current service has become a little too big. I understand there is something called "JobLets" which is available on the Enterprise version only.
Is there something similar which is available for the OpenStudio ESB version?
DI OpenStudio version has tRunJob available which unfortunately does not work with services setup in OpenStudio ESB via tRestRequest.
I am trying to organize/ reuse some code. Any suggestions welcome.
Edit: Never mind, you already said tRunJob does not work for your use case so the below does not apply.
You can have a parent job execute a child job as many times as you want. See the tRunJob component. Define the parent job and child jobs in different files. This document might be a good starting point:
Why does the tRunJob not work? I'm sure I have done this before....although not for a while. My services tend to be quite small. Another option is to create services out of the functionality you want to share and call those services by your parent service
You can return the result from within your tRunJob to the main job (service) using a tBufferOutput in your tRunJob. This should be described here https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/ICv6hRE2pgpUtQFvQDmxkg
You can then send that back via a tRestResponse. You can set up several tRestResponse messages in the main job (service) if you want.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to use an API-First Approach to Modernize your Applications
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs