Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi There,
I am in a situation where I am polling messages from a JMS queue using the tJMSInput component, once the reply comes I am extracting the response using tExtractXML and then passing it onto another tJavaRow component.
From the tJavaRow component when I try to run another component using the on ComponentOK line it doesn't trigger the next component and the Job gets stuck at that point.
Here's how I have them connected:
The second tJavaRow never gets triggered. I have tried using the Main output link from the first tJavaRow and even the if statement by passing in a true condition. Can someone please comment on what could be the issue or possible workaround?
Hi
For testing, just print a log message on tJava_1 to check if the next component is triggered or not,eg:
System.out.println("tJava_1 is triggered");
The same way, go to check on which component the job is hanging.
Regards
Shong
Hi , the tPreJob component is used to run the linked components before the main job so for me it is useless to link it with OnSubJobOk trigger with the tJMSInput Component, can you please share with us what are you doing in the tjavaRow and tjava components?
best regards
Hi,
I an using the tJavaRow component to resd the input_row containing the values from the tExtractxml and then setting the context variables.
the tJava component is just to log that the package will be called now. I tried eliminating the second tJava component without any luck. Will try to remove the tPreJob as well.
we usually print the value of context variable to see whether they are assigned value correctly before they are used, so you do this step on tJava for testing.
HI,
I have noticed that the further components are working only with the use of Main (output), not the On Component Ok or any other sort of trigger. Is this the normal behavior of tJMSInput? It shows starting for all the jobs, and once the message has been received from the queue it starts the further process.