|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Error 2033 even when messages are present in the queue |
« View previous topic :: View next topic » |
Author |
Message
|
Biju |
Posted: Tue Oct 04, 2005 1:15 am Post subject: Error 2033 even when messages are present in the queue |
|
|
 Acolyte
Joined: 03 Oct 2005 Posts: 71
|
Hi Guys,
Here comes another problem. I am putting messages to am queue 10 at a time 10 times. When I am trying to get the messages 11 or more at a time, after getting and displaying the first 10 messages its throwing an error 2033( MQRC_NO_MSG_AVAILABLE) though there are 90 more messages present in the queue. Could anyone tell me why is it happening so and how couls I resolve it? Any input will be greatly apreciated. Oh by the way I am using
MQ for WinNT v5,3 with CSD05. The application is using Java API for MQ.
Thanx,
Bijish |
|
Back to top |
|
 |
wschutz |
Posted: Tue Oct 04, 2005 4:06 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Simple things that prevent you from reading messages that are on the queue could include:
1. The messages haven't been committted by the application that put them
2. You are using a selective get to read the messages by messageID and / or correlID and they don't match
3. some other instane of your application is running against the same queue and it got them...
there's more... but that will start you off.... _________________ -wayne |
|
Back to top |
|
 |
Biju |
Posted: Tue Oct 04, 2005 4:38 am Post subject: |
|
|
 Acolyte
Joined: 03 Oct 2005 Posts: 71
|
2. You are using a selective get to read the messages by messageID and / or correlID and they don't match
COULD YOU EXPLAIN IT IF YOU HAVE ENOUGH TIME PLEASE |
|
Back to top |
|
 |
ramires |
Posted: Tue Oct 04, 2005 5:12 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
Each message has an Id, its called messageId. Also each message can have a correlId. You can identify a message by its messageId and/or correlId.
So, when you get from a queue you can - its an option - specify which message you want to read.
See programming manuals! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|