Error Code 2033
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow 2033 mqrc_no_msg_available the company Business Learn more about hiring developers or posting ads with us Stack
Mqget Failed With Reason Code 2033
Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of
Mqrc Codes
4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to avoid MQRC2033 NO_MSG_AVAILABLE up vote 4 down vote favorite 1 I have a simple program to http://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.tro.doc/q041040_.htm process messages from a queue. My intention is to process all available messages in queue and still listen to queue for incoming messages. I have written the processing part inside a infinite loop as i want it to listen to queue always and process messages. Once after processing all messages again it tries to get a message(as it is inside a infinite loop) from the queue and there is no messages it http://stackoverflow.com/questions/6479259/how-to-avoid-mqrc2033-no-msg-available throws MQRC 2033 NO_MSG_AVAILABLE exception(infact it is correct) and my program exits. Can someone give an idea to continously listen to this queue and avoid this exception. websphere-mq share|improve this question asked Jun 25 '11 at 17:06 Vignesh 3281431 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted When you execute the MQGET API call, there is an option to have the program wait for messages. You can specify a wait time (in milliseconds) or specify to wait forever. Just make sure that if you have the app wait for more than a few seconds, also specify 'Fail if Quiescing'. This allows the queue manager to be stopped cleanly. Without 'Fail if Quiescing' the administrator will need to issue a preemptive shutdown which can cause problems. There is a section specifically for this question in the Programmer's Guide in the Waiting for Messages chapter. Depending on the language you are writing in ,the actual value to specify is in the Programmer's Reference, the Using Java manual or the Using .Net manual. Each of these will be visible in the navigation panel when you click the link above. share|improve this answer answered Jun 26 '11 at 3:24 T.Rob 23.3k84381 Thanks Rob.. I specified MQWI_UNLIMITED in my get option.
RSS Feed - WebSphere MQ http://www.mqseries.net/phpBB2/viewtopic.php?t=55002&sid=f77a63ec33da555d9d4f703d40eaa35e Support RSS Feed - Message Broker Support
MQSeries.net Forum Index » WebSphere DataPower » MQSeries Backend +Reason http://eai.ittoolbox.com/groups/technical-functional/mqseries-l/completion-code-2-reason-2033-2134113 Code 2033 Goto page 1, 2Next MQSeries Backend +Reason Code 2033 « View previous topic :: View next topic » Author Message srk31 Posted: Wed Sep 01, 2010 3:38 pm Post subject: MQSeries Backend +Reason Code 2033 ApprenticeJoined: 01 Sep 2010Posts: 39 Hi All, I am having MQSeries as backend and mq as front side handler. I am getting following code 2 error The get call timed out before receiving any messages (Reason Code 2033), MQ Reason Code = 2033, MQ URL = dpmq://LocalQM/?RequestQueue=TEST.REQ;ReplyQueue=TEST.RSP;Transactional=true The get call timed out before receiving any messages (Reason Code 2033) The same queues are working fine for different mpg where i am get the response with fraction of milliseconds. I have same backend and mqmanager configurations for this new mpg flow I have set up 120 sec for timeout. reason code 2033 I am not able to figure out what could be the problem. No clue in the datapower logs. Can any one suggest what could be the problem Thanks, SRK Back to top mqjeff Posted: Wed Sep 01, 2010 6:11 pm Post subject: Grand MasterJoined: 25 Jun 2008Posts: 16523 mqrc 2033 Back to top srk31 Posted: Wed Sep 01, 2010 6:36 pm Post subject: ApprenticeJoined: 01 Sep 2010Posts: 39 when i look into dp error code its showing connection time out for this . The same Qmanger and front side handler configurations are working for other mpg. i was wondering whats wrong here Back to top Vitor Posted: Thu Sep 02, 2010 2:37 am Post subject: Grand High PoobahJoined: 11 Nov 2005Posts: 23647Location: Ohio, USA srk31 wrote: i was wondering whats wrong here Same thing as for any 2033: - Code problem meaning a badly identified reply (sender or receiver) - Code problem indicating no reply at all - Configuration problem misrouting reply A simple search of this forum or the documentation would have told you this_________________Honesty is the best policy. Insanity is the best defence. Back to top shashivarungupta Posted: Thu Sep 02, 2010 4:37 am Post subject: Re: MQSeries Backend +Reason Code 2033 Grand MasterJoined: 24 Feb 2009Posts: 1301Location: Dehradun, Pune, Michigan, B'lore, Delhi, Wellington sTechnology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries MacProTX Inside-ERP VoIP_News Inside-CRM maxwellarnold PCMag I_am_the_dragon Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Locutus Ramnath.Awate DukeGanote Dennis Stevenson Craig Borysowich Richard mircea_luca Nikki Klein AbhaiTripathi knowscognosdoi Clinton Jones blrvenkat bluesguyAZ59 iudithm COMPANIES Hewlett Packard Hitachi America, LTD Compuware Fiberlink Communications View All Topics View All Members View All Companies Toolbox for IT Topics Enterprise Architecture and EAI Groups Ask a New Question MQSeries For discussion on MQSeries , please visit the Enterprise Architecture & EAI - General Discussions group. More Enterprise Architecture and EAI Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. Completion Code 2, Reason 2033 Narendra Yerrala asked May 26, 2008 | Replies (11) Hi, I am new to IBM MQ series , I have written a stand alone Java program which will send an u