cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: svn commit: r529436 [1/2] - in /incubator/cxf/trunk: api/src/main/java/org/apache/cxf/binding/ api/src/main/java/org/apache/cxf/endpoint/ api/src/main/java/org/apache/cxf/interceptor/ api/src/main/java/org/apache/cxf/phase/ api/src/main/java/org/
Date Tue, 17 Apr 2007 16:08:29 GMT
Same question here :-)
I used my own MessageObserver to set up some properties on the message
before launching the interceptor chain...
Btw, how can I retrieve the BindingFactory ?

On 4/17/07, Dan Diephouse <dan@envoisolutions.com> wrote:
>
> Hi William,
>
> Mind if I ask a few questions first? I think there are some cases where
> you
> probably do want to specify your own MessageObserver, but this seems
> opposed
> to the goal of letting a binding manage how endpoint resolution happens. I
> would like to unify the two better though - so maybe you can help me
> figure
> that out :-)
>
> Why are you specifying a different messageobserver?
>
> Where were you previously specifying your own messageobserver -
> ServerImpl?
>
> Thanks
> - Dan
>
> On 4/17/07, William Tam <email.wtam@gmail.com> wrote:
> >
> > Hi Dan,
> >
> > Is it possible to specific my own MessageObserver rather than using the
> > default "ChainInitiationObserver"?  Prior to this change, I could name
> my
> > MessageObserver in the constructor of ServerImpl().  I could no longer
> do
> > that.  The MessageObserver is now hardcorded in
> > AbstractBindingFactory.addListener().  It is not possible for me to
> > override
> > it because I don't have control over the BindingFactories.
> >
> > Thanks,
> > William
> >
> >
> >
> --
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.com/blog
>



-- 
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message