hstaudacher / osgi-jax-rs-connector

An OSGi - JAX-RS 2.0 Connector, software repository available on the link below
http://hstaudacher.github.io/osgi-jax-rs-connector
Other
191 stars 98 forks source link

ContainerRequestFilter is beeing ignored #141

Closed doggy-dev closed 8 years ago

doggy-dev commented 8 years ago

I registeded an implementation of ContainerRequestFilter as a declarativ service, annotated ist with @Provider and @Priority but it is beeing ignored by jersey. When I make an REST call to an endpoint the service the filter() Method isn't called.

I'm using eqionox as osgi container and using com.eclipsesource.jaxrs.jersey-min_2.17.0 together with om.eclipsesource.jaxrs.provider.moxy_2.1.0.201503290743 and com.eclipsesource.jaxrs.publisher_4.3.0.201503290743 and starting the publisher bundle. org.eclipse.equinox.http.jetty_3.0.200.v20131021-1843 is also beeing started but I'm not sure if this is relevant.

doggy-dev commented 8 years ago

Sorry but it was my fault. I have a resource filter and didn't mark the ContainerRequestFilter as a resource.