Hi Simo,

On Mon, Feb 3, 2014 at 12:00 PM, Simone Tripodi
<[email protected]> wrote:
> ...It is not really clear to me which is the right way to pass configuration
> parameters to servlet Filter implementation as OSGi service...

We have some known good examples in our integration tests:

launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/filters/HttpServiceExtFilter.java
launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/filters/NoPropertyFilter.java
launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/filters/SlingFilter.java

At first sight your annotations look ok, but you might want to
compare, and check that there's actually an instance of your service.

-Bertrand

Reply via email to