Author |
Message
|
laddha |
Posted: Mon Jun 09, 2003 1:23 am Post subject: How to specify Dynamic queue name |
|
|
 Apprentice
Joined: 20 Mar 2003 Posts: 27
|
Hi All,
While opening a Model Queue, a Dynamic queue gets created.
But, why we can specify Dynamic queue name like MQQ* or * ?
What does specifying MQQ* AND JUST * MEANS?
Thanks,
Prasanna |
|
Back to top |
|
 |
clindsey |
Posted: Mon Jun 09, 2003 6:18 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
The name has no affect on the operation of the dynamic queue. This just gives you some control over the name. You can put a prefix name, like maybe the app name followed by * so you you or an admin will know something about the dynamic queue by the root of the name.
Charlie |
|
Back to top |
|
 |
MQRuss |
Posted: Mon Sep 22, 2003 11:58 am Post subject: Dynamic Queues and .NET |
|
|
 Novice
Joined: 16 Sep 2003 Posts: 13 Location: Macon. GA
|
Well this message is only mildly related. I'm an MQ newbie and prone to stupid questions but here goes.
When creating a dynamic queue I'm using AccessQueue. The problem is get an error 2085 no matter which version of the overloaded function i use. My confusions is mostly over the version that takes 5 arguments asking for a queuename as string and then a later argument as dynamicqueuename as string. why do i need the first?
_head Scratch_
Thanks, try not to flame my ignorance to hard.
Russ _________________ ____________
Russ
MQ Newbie |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Sep 22, 2003 1:39 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'm assuming you're using the java. The 2085 is probably coming out because the 1st parameter is supposed to be the model queue that you want to use. You should probably have something like "SYSTEM.DEFAULT.MODEL.QUEUE". The 4th parameter is where you put in the "AMQ*". If this doesn't help, post your code fragment. |
|
Back to top |
|
 |
MQRuss |
Posted: Mon Sep 22, 2003 1:43 pm Post subject: MQ .NET |
|
|
 Novice
Joined: 16 Sep 2003 Posts: 13 Location: Macon. GA
|
Well I'm actually using VB.NET. but you are exactly right. I needed the model queue name. I'm still working through some things but I'm nearing a working prototype. Thanks in large part to a lot of posts on this site.
So thank you all.
until the next silly rookie misunderstanding,
Russ _________________ ____________
Russ
MQ Newbie |
|
Back to top |
|
 |
|