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 IndexGeneral DiscussionAlias Queue and Authorities

Post new topicReply to topic
Alias Queue and Authorities View previous topic :: View next topic
Author Message
techno
PostPosted: Sat Sep 24, 2005 7:48 am Post subject: Alias Queue and Authorities Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Sat Sep 24, 2005 8:43 am Post subject: Reply with quote

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
View user's profile Send private message
hopsala
PostPosted: Sat Sep 24, 2005 8:47 am Post subject: Re: Alias Queue and Authorities Reply with quote

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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral DiscussionAlias Queue and Authorities
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.