GeeCON Prague 2014*
The moose likes Websphere and the fly likes Problem reading mesage from MQ - 2033 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Problem reading mesage from MQ - 2033" Watch "Problem reading mesage from MQ - 2033" New topic
Author

Problem reading mesage from MQ - 2033

Yogesh Gandhi
Ranch Hand

Joined: Dec 05, 2008
Posts: 212
I am facing a problem when reading from a MQ queue.

I have written two functions:



Only difference in the two functions is that queueName is being changed (which is being passed as a parameter)
.
But I get a message 2033 when reading from Enquiry Queue, while the same code works perfectly fine in case of Request Queue.

Can anyone give me a clue, what could be the possible reason for such a behavior.


The function readMQMessage uses the following options:



Yogesh Gandhi
Ranch Hand

Joined: Dec 05, 2008
Posts: 212
At last I had to use browseEnquiryMessage method to read all the messages present in the queue. (That worked).
This worked for me, I don't know the reason, but I was able to get rid of my problem.

 
GeeCON Prague 2014
 
subject: Problem reading mesage from MQ - 2033