|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Series.. DLQ |
« View previous topic :: View next topic » |
Author |
Message
|
keniav |
Posted: Wed Jul 05, 2006 6:00 am Post subject: MQ Series.. DLQ |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Jul 05, 2006 6:06 am Post subject: |
|
|
 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 |
|
 |
Mr Butcher |
Posted: Wed Jul 05, 2006 6:11 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|