Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
In AEM , say we have two projects within Aem instance where there are two sling event handlers with the same replication action chosen as topic ,
how would one ensure that both run and don't overlap/override and can coexist for the two projects ?
I could think of filtering by path for the two projects but is it wise ?
any concerns we could encounter ?
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Yes, you can apply the filter with path specific to the project and that should take care of everything. Based on the events from specific path, the implementation will be picked and there will not be any impact.
https://aem.redquark.org/2018/10/day-14-eventing-in-aem.html
Thanks!
Vistas
Respuestas
Total de me gusta
Yes, you can apply the filter with path specific to the project and that should take care of everything. Based on the events from specific path, the implementation will be picked and there will not be any impact.
https://aem.redquark.org/2018/10/day-14-eventing-in-aem.html
Thanks!
Vistas
Respuestas
Total de me gusta
Hi @NitroHazeDev ,
You would not want to fire unnecessary event invocations so you should filter for project specific paths. Use path filter, and that should be ideal and good approach and it will also make sure that there will be no overlap/override.
https://github.com/riteshmittal/aemscheduler-even-handling/blob/main/EventHandlerExample.java
Vistas
Respuestas
Total de me gusta
Thank you Ritesh and Ashutosh for confirming the path based filtering option
That was my understanding as well but happened to hear it wasn't per the best practice and that left me confused.
Thank you ..
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas