How to add dynamic path to Event filter in in event handling from the osgi config I created a osgi config but as the event.filter can only have constants value it is not taking the value from config property | Community
Skip to main content
New Participant
February 23, 2023
Solved

How to add dynamic path to Event filter in in event handling from the osgi config I created a osgi config but as the event.filter can only have constants value it is not taking the value from config property

  • February 23, 2023
  • 1 reply
  • 1022 views

How to add dynamic path to Event filter in event handling from the osgi config I created a osgi config but as the event.filter can only have constant value it is not taking the value from config property

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by shelly-goel

Hi Keerthi,

 

Glob pattern is allowed as described here: https://sling.apache.org/apidocs/sling9/org/apache/sling/api/resource/observation/ResourceChangeListener.html#PATHS

1 reply

shelly-goel
shelly-goelAccepted solution
Employee
February 23, 2023