Efficient way to send values from job/joblet to Route
Hi Community,
I am a new developer and looking to achieve the following:
- I have a main route lets call it FWO. Route looks like this; cJMS-> cTalendJob -> CsetHeader(send a simple message like process done) -> cWireTape - The cTalendJob contains a job that has multiple joblets in it.
What i would like to achieve is the following:
- Each joblets gives 3 monitoring messages (messages in, messages out, in case of error messages error). Messages are standardized as in same columns across all joblets - Get these messages to the main job. ( now i connected the tmap in the joblet to an output component) - From the main job get the messages to the route. - Put the messages in headers and set it to a cJMS component using standardized headers (import of beans).
How can i achieve this?
For example how do i get 3x4 messages back into the route?(I thought about putting each joblet output in seperate global variables)