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 » can't get first message off reply queue

Post new topic  Reply to topic
 can't get first message off reply queue « View previous topic :: View next topic » 
Author Message
benst
PostPosted: Tue Mar 30, 2004 9:44 pm    Post subject: can't get first message off reply queue Reply with quote

Newbie

Joined: 29 Mar 2004
Posts: 3

Hi all,

If I kill a process before it has a chance to retrieve all the replies it is expecting off a reply queue, subsequent executions of the process exhibit a strange behaviour. If many messages are to be sent, all replies except the first can be taken off the reply queue.

Can anyone suggest what is going on?

The problem is fixed by clearing the reply queue manually.

Thanks for any help.
_________________
Ben Thomas
Melbourne
Australia
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 31, 2004 12:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What return code do you get when you try to retrieve the first message?

What are your Get Message Options?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
benst
PostPosted: Wed Mar 31, 2004 3:23 pm    Post subject: Reply with quote

Newbie

Joined: 29 Mar 2004
Posts: 3

The get options used are:
MQGMO_NO_WAIT, MQGMO_ACCEPT_TRUNCATED_MSG, and MQGMO_BROWSE_FIRST

The result is MQCC_WARNING and the reason is MQRC_TRUNCATED_MSG_ACCEPTED.

After the first attempt to get the message from the reply queue, the get options are then set to:
MQGMO_NO_WAIT, MQGMO_ACCEPT_TRUNCATED_MSG, MQGMO_BROWSE_FIRST and MQGMO_NO_SYNCPOINT.

Thanks heaps for your help.
_________________
Ben Thomas
Melbourne
Australia
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Mar 31, 2004 7:33 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

My guess would be that it has something to do with your message ids/correlation ids not being reset with every get (and maybe on the puts as well).
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » can't get first message off reply 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.