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 NOT to use DLQ for the local queue?

Post new topic  Reply to topic
 How NOT to use DLQ for the local queue? « View previous topic :: View next topic » 
Author Message
sc
PostPosted: Sat Oct 11, 2003 6:27 pm    Post subject: How NOT to use DLQ for the local queue? Reply with quote

Novice

Joined: 06 Sep 2003
Posts: 16

There is Dead Letter Queue defined for the QueueManager. We had a local queue which receives messages from remote QueueManager. We don't want messages moved to DLQ after that recv queue reached maximum depth as message sequence issue.

Need help. Thanks.
Back to top
View user's profile Send private message
leongor
PostPosted: Sun Oct 12, 2003 1:53 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

Alter aueue manager definition for dead letter queue :
alter qmgr deadq('')
If you use persistent messages then channel receiver will stop and wail until it again can put message to destionaton queue.
If you use non persistent messages then change channel's definition NPMSPEED to normal instead of FAST.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
sc
PostPosted: Sun Oct 12, 2003 6:09 pm    Post subject: Reply with quote

Novice

Joined: 06 Sep 2003
Posts: 16

Thanks for the reply.

Actually there are some local queues which need the DLQ setting for the QMgr. So I cannot just set DLQ of Qmgr to NULL as other may use it.

But for my local queue, I don't like the overflowed message put into DLQ.
How can I achieve this?
Back to top
View user's profile Send private message
Nathan
PostPosted: Mon Oct 13, 2003 3:19 am    Post subject: Reply with quote

Acolyte

Joined: 15 Sep 2003
Posts: 52
Location: Rochester, NY

You could define a Backout Requeue Name for the offending queue. But, this will have two problems. One, the messages will end up stored in another queue (probably what you are trying to avoid) and there will not be a DLQ header on them for error.

But, you could modify you programs code to use to queues. This is also easy if you don't care about the order the messages are received in. Otherwise you have to program that into the program too.
Back to top
View user's profile Send private message
mathew
PostPosted: Mon Oct 13, 2003 3:43 am    Post subject: Reply with quote

Newbie

Joined: 17 Sep 2003
Posts: 2

I have solved this by security (OAM)

This problem is only for messages from other qmgrs. Local applikations and clients get an 2053 when they put msg on a full q. Put an mcauser to the receiver/requestor-channel without permission to write to dlq. If the localq is full the channel will fall into error/retry. I did not try this on an MQ-Cluster.
Back to top
View user's profile Send private message
sc
PostPosted: Mon Oct 13, 2003 7:49 am    Post subject: Reply with quote

Novice

Joined: 06 Sep 2003
Posts: 16

mathew,

Does your solution of using OAM require the principal that had permission to put messages into local recv queue but cannot put into DLQ? If that is the case, Does it mean that I need explicitly to grant/revoke the permission on RECV queue and DLQ?

Thanks for all replies.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Oct 13, 2003 10:06 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well that would depend on the recv channel defiinition you have
2 choices for put authority Default which will use the userid running
the channel code or context (use the userid from the message)
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
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 NOT to use DLQ for the local 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.