How to know if current instance is primary publisher
Hi All,
If writing a logic to run certain tasks only if user is on primary publisher, in Java looking to identify if user is on a primary publish instance.
I see that AEM Communities Publisher Configuration has "isPrimaryPublisher" from which this can be obtained. Any suggestion of achieving this in best way?
The pid of the config seem to point to an impl class so not sure if @Reference would work.
Using AEM 6.2 SP1 FP3 cfp14
Thanks
Shubham
