|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Losing messages when bouncing queue manager |
« View previous topic :: View next topic » |
Author |
Message
|
ranstice |
Posted: Fri Nov 01, 2002 1:22 pm Post subject: Losing messages when bouncing queue manager |
|
|
Newbie
Joined: 24 Mar 2002 Posts: 8
|
Hi,
I have persistence is on for the queue in question - and my process that puts messages on the queue keeps that setting.
When I bounce the queue manager- the messages disappear off this queue though.
Is there a setting I am missing?
Is there something that overrides the queue setting?
Thanks in advance,
Robin |
|
Back to top |
|
 |
jlamond |
Posted: Fri Nov 01, 2002 3:22 pm Post subject: |
|
|
Voyager
Joined: 28 May 2002 Posts: 94 Location: Paris
|
Persistency is a message attribut and not a queue attribut. You can set a Local Queue Default Persistency to Yes, but this does not provide a strict garanty that message will in fact be persistent.
If your program do not use the AS_QUEUE_DEF option or if you force a message specific persistence using MQPER_PERSISTENT or MQPER_NOT_PERSISTENT on the MQMD.Persistence. The message will or wont remain in the Queue after recycling your Queue Manager. _________________ Jean-Marc |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Nov 07, 2002 5:01 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Assuming the messages are persistent, are you sure they are really there before you bounce the QM?
What I mean is if the only way you know there are messages on the queue is because the queu depth is > zero, there 2 possabilities.
1. You have persistent but expired messages on the queue. The queue depth will be > 0 in this case, but the depth will 0 when you bounce the QM.
2. You have persistent, but uncomitted messages on the queue. Same deal. Depth > 0 before the bounce, 0 after the bounce. _________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|