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 » General IBM MQ Support » How to commit , Uncomitted msgs in Dead letter queue

Post new topic  Reply to topic
 How to commit , Uncomitted msgs in Dead letter queue « View previous topic :: View next topic » 
Author Message
MQ_Malik
PostPosted: Wed May 16, 2012 11:00 am    Post subject: How to commit , Uncomitted msgs in Dead letter queue Reply with quote

Newbie

Joined: 16 May 2012
Posts: 3

Hello,
We are sending Persistent messages from QM1 to QM2. On QM2 (remote side), Queue local (LQ1) maxdepth is 2 and Dead Letter queue(deadq) maxdepth is 4.
We are sending 9 messages,using amqsput command.
2 messages delivered to LQ1 , but other messages are in loop between deadq (on QM2) and Transmission queue (on QM1).
While checking the dis qs(deadq), come to know these are Uncomitted messages. And message backingout from deadq and going back to xmitq and vice-versa.
How to resolve this issue?
Back to top
View user's profile Send private message
mvic
PostPosted: Wed May 16, 2012 11:06 am    Post subject: Re: How to commit , Uncomitted msgs in Dead letter queue Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

MQ_Malik wrote:
other messages are in loop

Describe this loop a bit more, please. What is looping?
Back to top
View user's profile Send private message
MQ_Malik
PostPosted: Wed May 16, 2012 11:13 am    Post subject: Reply with quote

Newbie

Joined: 16 May 2012
Posts: 3

Only 1st msg reached to deadq is getting uncom(no), once other messages delivered to deadq, it become uncom(yes).
Once all 4 message (as maxdepth is 4) delivered to deadq, 3 messages went back to xmitq and deadq curdepth become 1.

At the same time, when deadq curdepth is 1, we can see 6 messages in xmitq.
When deadq curdepth is 4, there are NO messages in xmitq.
Back to top
View user's profile Send private message
mvic
PostPosted: Wed May 16, 2012 11:22 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Are the messages all Persistent?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 16, 2012 11:26 am    Post subject: Re: How to commit , Uncomitted msgs in Dead letter queue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

MQ_Malik wrote:
How to resolve this issue?


Stop the channel.

You've placed 9 messages on the xmitq. There's space for 6 on the target queue manager; 2 on the local queue, 4 in the dead letter queue. Hence the batch of 9 messages can't be delivered & rolls back to the xmitq.

I'm charitably assuming that this is some kind of test bed for undeliverable messages rather than the certification question it sounds like.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MQ_Malik
PostPosted: Wed May 16, 2012 11:53 am    Post subject: Reply with quote

Newbie

Joined: 16 May 2012
Posts: 3

Yes, all messages are Persistent.
I got this issue while working on my test system.

Can we resolve it?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed May 16, 2012 11:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

MQ_Malik wrote:
Can we resolve it?

No.

You can. We can't.

You can in several ways.

The easiest of which is to change the queues to be big enough.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed May 16, 2012 12:16 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Your test is constructed to fail, and it has done so quite successfully.

Read the WMQ Intercommunication manual (or the InfoCenter equivalent) to discover how messages are transferred across channels; and, more importantly, what happens when this process fails.

It is failing exactly as described in the official ibm documentation.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 16, 2012 9:52 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

if you want your test to succeed you need to change the size of the channel batch parameter... Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to commit , Uncomitted msgs in Dead letter 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.