I have a requirement where i have to trigger the event handler to read all the images in a particular dam folder when ever an asset is added. the dam folder structure can have multiple levels where we add assets inside each folder. I used JCR EventListener which is working fine but not working for EventHandler. I'm using OSGI DS annotations in Archetype 11. Please find the code below. What am i missing? It's not getting triggered at all.
@vitis90, I tried your code and it's working fine; at least the EventHandler part. Here's the code I used and I did get the expected log messages when I added/modified content under the expected path. Maybe you are listening to one path and making changes to another. Here's also the dependency for org.osgi.service.component.annotations.Component and the output I got.