On Mon, 2005-10-24 at 12:46 -0400, Glen Daniels wrote:
> 
> What I'm trying to say is that we should NOT hard-code the dispatch 
> order, we should have it simply exist as configuration in the default 
> axis2.xml file. 

+1 .. Deepal what's the advantage of having it fixed programmatically
instead of being read in from the config?

>  To do this we either use current <handler> syntax:
> 
>          <handler name="MyDispatcher"
>                   class="package.MyDispatcher">
>              <order phase="Dispatch"/>
>          </handler>
> 
> or my suggested simpler syntax:
> 
>          <phaseOrder>
>            <phase name="Dispatch">
>              <handler name="MyDispatcher"
>                       class="package.MyDispatcher"/>
>            </phase>
>          </phaseOrder>

Does the latter syntax imply we can remove the first form? If so +1 for
the latter otherwise I don't think we need alternate syntax for this
type of stuff because changing dispatchers type work is not a regular
user activity .. or even close to it.

Sanjiva.


Reply via email to