ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Error 2033 even when messages are present in the queue

Post new topic  Reply to topic
 Error 2033 even when messages are present in the queue « View previous topic :: View next topic » 
Author Message
Biju
PostPosted: Tue Oct 04, 2005 1:15 am    Post subject: Error 2033 even when messages are present in the queue Reply with quote

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
View user's profile Send private message Yahoo Messenger
wschutz
PostPosted: Tue Oct 04, 2005 4:06 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Biju
PostPosted: Tue Oct 04, 2005 4:38 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
ramires
PostPosted: Tue Oct 04, 2005 5:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Error 2033 even when messages are present in the queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.