axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detelin Yordanov" <>
Subject Policy management in Axis2 not thread-safe?
Date Mon, 08 Dec 2008 13:34:31 GMT
Hi guys,
  We are going to use Axis2's policy management features to allow users to
dynamically remove/attach/modify policies for a given service.
However, we noticed that the policy management API (PolicySubject class) is
not synchronized. This could lead to exceptions if users are
attaching/removing policy components at let's say binding subject, and in
the same time a service invokation is building the effective policy by
iterating over the policy components.
So my question is whether you intend to add synchronization to the
PolicySubject at some point for the 1.5 release?
I'm also interested to know how is this handled in the WSO2 WSAS?


View raw message