Gowrishankars
Programmer
Hello,
We are facing a problem here using the MQ Trigger.
We are using MQ Trigger to call a shell script that in turn calls the java program.
The java program gets the message (using MQGET call) from the queue on which the Triggering was set.
The java program is not able to reference the Queue. The program stops responding (as if it is on an infinite loop) and the process hangs forever.
We tried running the shell script from the command prompt and the program is getting executed successfully.
1. Does the trigger monitor lock the trigger queue, so that we can't get messages from the queue?
2. Do we need to set any property on the queue/ Trigger monitor/Process for enabling the get-messaging from the queue.
Thanks in advance,
Gowri.
We are facing a problem here using the MQ Trigger.
We are using MQ Trigger to call a shell script that in turn calls the java program.
The java program gets the message (using MQGET call) from the queue on which the Triggering was set.
The java program is not able to reference the Queue. The program stops responding (as if it is on an infinite loop) and the process hangs forever.
We tried running the shell script from the command prompt and the program is getting executed successfully.
1. Does the trigger monitor lock the trigger queue, so that we can't get messages from the queue?
2. Do we need to set any property on the queue/ Trigger monitor/Process for enabling the get-messaging from the queue.
Thanks in advance,
Gowri.