Re: problem in reading messages

2004-08-02 Thread Ruzi R
RC 2039 means you are trying to do a PUT but to a queue  that you have not opened for output.   So, remove MQC.MQOO_INPUT_AS_Q_DEF from your #2 program and give it a try again.   Regards,   RuziSrinivas Amarnadh <[EMAIL PROTECTED]> wrote: Hi I am trying to do two thing #1 One thread is read

problem in reading messages

2004-08-02 Thread Srinivas Amarnadh
Hi I am trying to do two thing #1 One thread is reading a Queue continuously. I am checking whether the messages are available in the queue or not by using a method currentDepth(). If messages are available reading the messages else do nothing. Here is the code used to open queue and ge

Re: problem in reading messages

2004-07-30 Thread David C. Partridge
Check the options you've specified on your call to accessQueue(). It says you've supplied conflicting options. PS can those of you who post in html please strongly consider posting in plain text. Dave Instructions for managing your mailing list subscription are provided in the Listserv General

problem in reading messages

2004-07-30 Thread Srinivas Amarnadh
Hi all,   I am new to IBM MQSeries. I have a multithreaded java program which is continuously reading messages from one queue, and another thread is trying to write into the same queue , during this process the program is encountering a exception like the below.   MQJE001: Completion Co