|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
Alias Queue and Authorities |
View previous topic :: View next topic |
Author |
Message
|
techno |
Posted: Sat Sep 24, 2005 7:48 am Post subject: Alias Queue and Authorities |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
From the manual:
Quote: |
The InhibitGet and InhibitPut attributes (see “Attributes of queues” on page 41)
of alias queues belong to the alias name. For example, if the alias-queue name
ALIAS1 resolves to the base-queue name BASE, inhibitions on ALIAS1 affect
ALIAS1 only and BASE is not inhibited. However, inhibitions on BASE also affect
ALIAS1. |
Does it mean that all the attribute values are copied to Alias-Q from Base Q? Can attributes of Alas queue be changed different from that of Base Q?
Also, is it correct that I can do setmqaut on alias and base queues very independently, without affecting authority on each other, right?
Thanks |
|
Back to top |
|
 |
EddieA |
Posted: Sat Sep 24, 2005 8:43 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
Does it mean that all the attribute values are copied to Alias-Q from Base Q |
No.
Quote: |
Can attributes of Alas queue be changed different from that of Base Q |
Yes
Quote: |
I can do setmqaut on alias and base queues very independently |
Yes.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
hopsala |
Posted: Sat Sep 24, 2005 8:47 am Post subject: Re: Alias Queue and Authorities |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
techno wrote: |
Does it mean that all the attribute values are copied to Alias-Q from Base Q? Can attributes of Alas queue be changed different from that of Base Q? |
baseq attributes are not "copied", but simply have precedence over those of the alias; if the baseq is put inhibited, you will never able to put to it, if it is put enabled, only them is the aliasq checked. It is the same with sharing (if baseq is EXCLUSIVE then only one process can open it).
techno wrote: |
Also, is it correct that I can do setmqaut on alias and base queues very independently, without affecting authority on each other, right? |
Yes, in perfect opposition to q attributes, here only the aliasq applies; if you have no permission to the baseq, but have permissions to aliasq, you will be able to write to that queue. That's one of the reasons that I tend not to use alias qs, since after a while one usually forgets to coordinate the two permission sets.
p.s the simplest way to learn the answers to such vague statements in the manuals is to simply try them, using API exerciser or rfhutil; thus any possible doubt is cleared. |
|
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
|
|
|
|