Ok, forget it. Sometimes it's good to stop working and take a rest for a
while. I injected the Interceptor into the wrong place (inInterceptors).
Couldn't work this way I guess :wistle:


Andreas Sahlbach wrote:
> 
> Hi!
> 
> I am trying to add an Interceptor to my REST service to add a custom
> header field. I found in v.2.2.3 a systest called
> apache-cxf-2.2.3/systests/src/test/java/org/apache/cxf/systest/jaxrs/CustomOutInterceptor.java.
> 
> I don't think that this systest is actually working, is it? My code is
> never called. I don't think that an interceptor with Phase.MARSHAL is ever
> called for a REST service.
> 
> Is this a planned feature or should it actually be working right now? 
> 
> Thanks for a short answer,
> 
> Andreas
> 

-- 
View this message in context: 
http://old.nabble.com/REST-CustomOutInterceptor.java-actually-working--tp26216585p26217791.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to