hi, i've got following problem:
I'm connecting a MQSeries Client Java appl. running on AIX(4.3) to a MQ Queue Manager sitting on an OS/390, and I'm reading messages out of the queue.
The application works fine for a while (alway about 2 hours) and then suddently
stops fetching the message from the queue, but no exception or error is thrown, and the main program thread is still alive.
Here the method that I call and that doesn't return: com.ibm.mq.MQQueue.get(MQMessage,MQGetMessageOptions)
Has anyone any idea what could be the reason for this behaviour?
here is the code
...
while (isRunning()) {
try {
if (isTxMode || isTransOn)
{
gmo.options = MQC.MQGMO_WAIT | MQC.MQGMO_SYNCPOINT | MQC.MQGMO_FAIL_IF_QUIESCING;
}
else
{
gmo.options = MQC.MQGMO_WAIT | MQC.MQGMO_NO_SYNCPOINT | MQC.MQGMO_FAIL_IF_QUIESCING;
}
msg = new MQMessage();
getReceiveQueue().get(msg, gmo);
I'm connecting a MQSeries Client Java appl. running on AIX(4.3) to a MQ Queue Manager sitting on an OS/390, and I'm reading messages out of the queue.
The application works fine for a while (alway about 2 hours) and then suddently
stops fetching the message from the queue, but no exception or error is thrown, and the main program thread is still alive.
Here the method that I call and that doesn't return: com.ibm.mq.MQQueue.get(MQMessage,MQGetMessageOptions)
Has anyone any idea what could be the reason for this behaviour?
here is the code
...
while (isRunning()) {
try {
if (isTxMode || isTransOn)
{
gmo.options = MQC.MQGMO_WAIT | MQC.MQGMO_SYNCPOINT | MQC.MQGMO_FAIL_IF_QUIESCING;
}
else
{
gmo.options = MQC.MQGMO_WAIT | MQC.MQGMO_NO_SYNCPOINT | MQC.MQGMO_FAIL_IF_QUIESCING;
}
msg = new MQMessage();
getReceiveQueue().get(msg, gmo);