Quilleash, Michael (IT) wrote:
> Thanks for the reply Ian.
> 
> I did see this approach being used by the default interceptors,
> however I found out that the out/outFault messages are always null
> when the "in" interceptor is invoked so the interceptor chains aren't
> available to add new interceptors to.
> 
> I haven't found an example of any interceptors that add interceptors
> to different interceptor chains.
> 
> Is there a way of doing what you are saying, perhaps by creating the
> out messages earlier?

Hmm.  In that case you might be better off just keeping the start and
stop interceptors separate and creating a "feature" (see LoggingFeature
for an example) to group them together.  That way it's still a single
configuration operation to add both interceptors - just add the feature
to the bus, server, client, whatever.

Ian

-- 
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to