• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem reading mesage from MQ - 2033

 
Yogesh Gandhi
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic