Issue 4012: Precedence of propagated policy values (messaging-rtf) Source: Progress Software (Mr. Eoghan Glynn, nobody) Nature: Uncategorized Issue Severity: Summary: A question as to the semantics of policy value propagation. What does propagating a policy value actually mean in terms of the precedence of policy overrides (i.e. default, overridden by ORB level, overridden by thread level, overriden by object reference level)? For example, say a REPLY_END_TIME_POLICY_TYPE policy value is propagated with a request in the INVOCATION_POLICIES service context, and the target makes an onward invocation after setting a policy override of ReplyEndTimePolicy on the current thread with a different end-time - what's the precedence here between the propagated and overridden policy values? Resolution: see above Revised Text: Actions taken: November 1, 2000: received issue May 13, 2002: closed issue Discussion: The last paragraph of CORBA Core Section 4.8.4 says: In general the policy of a specific type that will be used in an invocation through a specific object reference using a specific thread of execution is determined first by determining if that policy type has been overridden in that object reference. if so then the overridden policy is used. if not then if the policy has been set in the thread of execution then that policy is used. If not then the policy associated with the capsule is used. For policies that matter, the ORB ensures that there is a default policy object of each type that matters associated with each capsule (ORB instance). Hence, in a correctly implemented ORB there is no case when a required type policy is not available to use with an operation invocation. This clearly states the precedence rule. So this issue can be closed no change. End of Annotations:===== Date: Wed, 01 Nov 2000 16:14:01 +0000 From: Eoghan Glynn X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: messaging-rtf@omg.org Subject: Precedence of propagated policy values Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: F(8!!&9o!!BV6e9!R"e9 Folks, A question as to the semantics of policy value propagation. What does propagating a policy value actually mean in terms of the precedence of policy overrides (i.e. default, overridden by ORB level, overridden by thread level, overriden by object reference level)? For example, say a REPLY_END_TIME_POLICY_TYPE policy value is propagated with a request in the INVOCATION_POLICIES service context, and the target makes an onward invocation after setting a policy override of ReplyEndTimePolicy on the current thread with a different end-time - what's the precedence here between the propagated and overridden policy values? Please cc eglynn@iona.com on any replies as I'm not subscribed to this list. Regards, Eoghan Glynn. Orbix2000/Java Engineering Team. Date: Tue, 18 Dec 2001 17:40:32 -0500 From: Jishnu Mukerji Organization: Hewlett-Packard Company X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: orb_revision@omg.org Subject: Proposed resolutio of 4012 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: )k'!!,0~!!flIe9=h$!! The proposed resolution beow willappear in the next vote unless there is significant technical objection. Jishnu. ___________________________________________________________________ Issue 4012: Precedence of propagated policy values (messaging-rtf) Click here for this issue's archive. Source: IONA (Mr. Eoghan Glynn, eglynn@iona.com ) Nature: Uncategorized Issue Severity: Summary: A question as to the semantics of policy value propagation. What does propagating a policy value actually mean in terms of the precedence of policy overrides (i.e. default, overridden by ORB level, overridden by thread level, overriden by object reference level)? For example, say a REPLY_END_TIME_POLICY_TYPE policy value is propagated with a request in the INVOCATION_POLICIES service context, and the target makes an onward invocation after setting a policy override of ReplyEndTimePolicy on the current thread with a different end-time - what's the precedence here between the propagated and overridden policy values? Resolution: The last paragrah of CORBA Core Section 4.8.4 says: In general the policy of a specific type that will be used in an invocation through a specific object reference using a specific thread of execution is determined first by determining if that policy type has been overridden in that object reference. if so then the overridden policy is used. if not then if the policy has been set in the thread of execution then that policy is used. If not then the policy associated with the capsule is used. For policies that matter, the ORB ensures that there is a default policy object of each type that matters associated with each capsule (ORB instance). Hence, in a correctly implemented ORB there is no case when a required type policy is not available to use with an operation invocation. This clearly states the precedence rule. Sothis issue cn be closed no change. Revised Text: Actions taken: Close no change.