Dispatcher Flush Agent | Community
Skip to main content
Level 3
October 11, 2024
Solved

Dispatcher Flush Agent

  • October 11, 2024
  • 1 reply
  • 448 views

Hi Team,

 

As per Adobe recommendation to avoid "race condition", Dispatcher Flush Agent is configured in Publish Instance for our project.

Now, we want to use ACS common "Dispatcher Flush UI" (link below) feature which enables Author to clear flush manually.

https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-flush-ui/index.html

 

Problem Statement:

  1. This ACS tool requires dispatcher flush agent to be configured on Author. So what should be recommended approach in this scenario?
  2. Can we have dispatcher flush agent in both Author and Publish? Will it not make flush request twice?

 

Any suggestions would be appreciated. Thank you.

 

Regards,

KTNR

 

Best answer by Shashi_Mulugu

@arvindpandey it's pretty common to have dispatcher flush agents in both Author and Publishers..

 

Dispatcher agents in author will be configured with Ignore Default flag ON which means it will not act on regular publish activities.. it acts as a special agent triggered only when ACS commons Flush UI is used..

 

Dispatcher Agents in publisher will be configured with IGnore Default flag OFF so that all regular publish work we do in author goes to publisher and then picked up by this agent for flush activities.

 

Hope this helps.

 

Note: this setup doesn't work in AEM Cloud

 

https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-flush-ui/index.html

1 reply

Shashi_Mulugu
Community Advisor
Shashi_MuluguCommunity AdvisorAccepted solution
Community Advisor
October 11, 2024

@arvindpandey it's pretty common to have dispatcher flush agents in both Author and Publishers..

 

Dispatcher agents in author will be configured with Ignore Default flag ON which means it will not act on regular publish activities.. it acts as a special agent triggered only when ACS commons Flush UI is used..

 

Dispatcher Agents in publisher will be configured with IGnore Default flag OFF so that all regular publish work we do in author goes to publisher and then picked up by this agent for flush activities.

 

Hope this helps.

 

Note: this setup doesn't work in AEM Cloud

 

https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-flush-ui/index.html