AEM 6.3: Felix SCR Annotations Deprecated - Replacement for @SlingFilter?
Hello, it appears that the Felix SCR annotations have been deprecated in AEM 6.3. This is not reflected on the Sling website or documentation as far as I can tell, but is appearing that way when we compile against the 6.3 uberjar.
In fact, the latest AEM Maven Archetype does not include the Felix SCR dependency at all.
I see this blog post from last year that covers a lot of conversion questions.
And this very recent one from Feike.
The OSGi 6 method for registering configuration properties using a separate interface class is fairly convoluted, and thinly documented, but with enough time and money I am sure we can figure it out.
However, there does not seem to be mention in either article of what is replacing the @SlingFilter annotation, which is mentioned as the recommended approach even in fairly recent articles.
All our classes that use the @SlingFilter annotation no longer work (they are throwing ArrayIndexOutOfBounds exceptions), even keeping the Felix SCR dependency, and updating it to the latest version.
Is there documentation somewhere of what is replacing the @SlingFilter annotation?
Is there a plan for a more complete document describing the recommended migration path, and changes to the product that cause existing @SlingFilter usage not to work?
Thanks!
Tim
