EventHandler for /var/

UweG

05-05-2019

Hi to everybody,

I tried to implement an EventHandler for AEM 6.4.1 to observe a subtree within /var/ and don't get this running.

What's the right way to configure this class with @Component?

What's the right value for EVENT_TOPIC to observe a /var/sub-path?

@Component(immediate = true, property = { EventConstants.EVENT_TOPIC + "=????",

   EventConstants.EVENT_FILTER + "=(varPath=/var/my/sub/path/de_DE/*)" })

Thanks in advance

Uwe

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

06-05-2019

value of event topic is depending on what kind of events you want to listen.

When you perform operation on nodes corresponding events triggered.

You can view AEM events by using the Events view located at: http://localhost:4502/system/console/events.

Answers (0)