EventHandler for /var/ | Community
Skip to main content
May 6, 2019
Solved

EventHandler for /var/

  • May 6, 2019
  • 1 reply
  • 827 views

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

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 arunpatidar

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.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 6, 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.

Arun Patidar