Hi all,

I just implemented and commit the initial implementation of the
dynamic phase support which we argued a lot in the mailing list over
the last few weeks. The implementation which I did is not that complex
but I hope that will be enough for most of the scenarios we discussed.
 Anyway if a module author want to add a new phase without changing
axis2.xml then (s)he can do that be adding following element into
module.xml  (multiple entries if he want to add many phases) .

<phase name="Foo" after="After_phase_Name" before="Before_Phase_Name"
flow="[InFlow,OutFlow,OutFaultFlow,InFaultFlow]"/>

Here the name of the phase is the phase we want to add , and before
and after values can be used to tell where to put the phase , however
one of them can be null. And the flow attribute tell which flow we
need to add the phase. There one thing we need to remember here is
that , it is always recommended to use the phase name of the before
and after as  the phase names in axis2.xml. Because if you try to
depend on someone else , that might not work and if the module is not
deployed.

Whether the module is going to engage or not if you have add a new
phase that phase will be added to the chain.

Thanks
Deepal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to