dev@jax-ws.java.net

Re: A new MessageHandler to access com.sun.xml.ws.api.Message

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 31 Jan 2007 16:49:01 -0800

Vivek Pandey wrote:
> There was another idea that Jitu mentioned during lunch.
>
> Where we provide something like TubeDelegate and anyone implementing it
> and provides it in classpath or thru META-INF/services will be loaded
> and will be given chance to process the message. It will keep it simple
> and Tube specific way to work the delegation keeping Handler approach
> untouched or issue relating how to plug it in the runtime etc.

I think the problem with META-INF/services is that you don't have a
fine-grained control. You either use it with all your endpoints or you
don't use it at all.

I like the Rama's approach better because the handler and its
configuration is well understood and better documented compared to any
RI specific approach. And it nicely takes advantage of the extensibility
the spec has.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com