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 Java / JMS » MQ Series.. DLQ

Post new topic  Reply to topic
 MQ Series.. DLQ « View previous topic :: View next topic » 
Author Message
keniav
PostPosted: Wed Jul 05, 2006 6:00 am    Post subject: MQ Series.. DLQ Reply with quote

Novice

Joined: 26 May 2006
Posts: 24

Hi all,
I have a question...
1. when i use the command crtmqm -u DLQName QmgrName [this is not
creating a dead letter queue for me]. Can you tell me why?

2. When i use the LIKE operator on the DEFINE statement the i am able to
create a dead letter queue with all the attributes of the DEFAULT DLQ.
i.e., DEFINE QLOCAL(QName) LIKE (SYS.DEAD.LEtter.Q)
[don't worry about the syntax, i am just giving you an idea of what i did]

So, when i used the LIKE operator as above, i get all the attributes of the default DLQ copied to my Local Queue. Is this the correct way of creating a dead letter queue? Why is the command in 1 above is not creating a DLQ for me? I appreciate all of your answers.
Thank you
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 05, 2006 6:06 am    Post subject: Reply with quote

Grand High Poobah

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

I think the -u option only specifies the DLQ for the queue manager to use. I don't think it actually creates it.

Anyone?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Jul 05, 2006 6:11 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

the "-u dlqname" parameter of the crtmqm is not designed to create a queue named "dlqname" but to fill the DEADQ attribute of the created queuemanager with the "dlqname". (because a queue is only used as a dead letter queue when it is applied to the DEADQ queuemanager attribute).

when creating a queuemanager you get default objects created, and you also get a qlocal SYSTEM.DEAD.LETTER.QUEUE created. so if you use "crtmqm -u SYSTEM.DEAD.LETTER.QUEUE ....." you should be fine.

of course you can use "define qlocal(...) like(...)" to create a dlq named according to your whishes and put that queuename with the "alter qmgr" command into the DEADQ attribute of the queuemanager.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ Series.. DLQ
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.