|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to create a Queue with dyname name? |
« View previous topic :: View next topic » |
Author |
Message
|
sslowell1234 |
Posted: Tue Mar 19, 2002 6:55 am Post subject: |
|
|
Newbie
Joined: 17 Mar 2002 Posts: 4
|
Hi,
I want to create a Queue dynamically so that we can change the Queue name whenever we need. Is there anyway any help is appreciated.
Thanks
|
|
Back to top |
|
 |
mrlinux |
Posted: Tue Mar 19, 2002 7:26 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
If you dont require a specific name for the queues,
You can use the MQOPEN call and specify the SYSTEM.DEFAULT.MODEL.QUEUE and it will return a queue name that is random based on date/time and something else
it will be basically AMQ.XXXXXXXXXXXXXX
Example AMQ.3C935DA300A3B012
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
mqonnet |
Posted: Tue Mar 19, 2002 7:37 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Not Quite sure what you mean by your question.
--I want to create a Queue dynamically.
Answered already.
--so that we can change the Queue name whenever we need. Is there anyway.
As far as i know, Queue names cannot be changed once they are created. The only way is to recreate them with different names. What you could do is, create the new queue "as" the old one, and hence have a new name.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
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
|
|
|
|