|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
can't get first message off reply queue |
« View previous topic :: View next topic » |
Author |
Message
|
benst |
Posted: Tue Mar 30, 2004 9:44 pm Post subject: can't get first message off reply queue |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Mar 31, 2004 12:32 am Post subject: |
|
|
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 |
|
 |
benst |
Posted: Wed Mar 31, 2004 3:23 pm Post subject: |
|
|
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 |
|
 |
bower5932 |
Posted: Wed Mar 31, 2004 7:33 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|