[Ace-users] [tao-users] How to set different message timeout policies fordifferent calls

Sowayan, Abdullah (N-DUA) abdullah.sowayan at lmco.com
Wed Feb 13 14:19:13 CST 2008


> Thanks everyone for the helpful info!

You're quite welcome.

> Can I simply call _set_policy_overrides() before each method call or
> would that be a Bad Idea?

You could call _set_policy_overrides() before each method. Do note that
the method returns a new object reference to you, the returned object
reference is the one that has the new policy settings, not the one you
call _set_policy_overrides() on.

As whether it is a good or bad idea, aside from the inefficiency of
doing so, it really depends on your use case, and it is all in the eye
of the beholder I guess ;-).


More information about the Ace-users mailing list