Hi,
I'm trying to add a filter to my bundle I have the following at the
top of my class
/**
* @scr.component metatype="no" enabled="no"
* @scr.property name="service.description" value="Request Filter"
* @scr.property name="filter.scope" value="request" private="true"
* @scr.property name="filter.order" value="-2147483648" type="Integer"
private="true"
* @scr.service
*/
And my maven config is as follows
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Sling-Initial-Content>initial-content;overwrite:=true;uninstall=true</Sling-Initial-Content>
<Export-Package>
com.daisytechnologies.*;version=${pom.version}
</Export-Package>
</instructions>
</configuration>
</plugin>
I deploy the bundle but can't see that the filter is added or being used.
I have also set
* @scr.component metatype="no" enabled="no"
to
* @scr.component metatype="no" immediate="true"
but no joy.
Can anyone help me out?
Ben