Hi @sanketd27011989,
I think, you can’t directly extend or override com.adobe.cq.assetcompute.impl.assetprocessor.AssetDuplicationDetector in AEM as a Cloud Service, because:
-
It’s an internal OSGi implementation class managed by Adobe inside the Asset Compute pipeline.
-
In AEMaaCS, you don’t have control over modifying or subclassing these OOTB services.
That said, you can build a supported extension pattern:
-
You can register an OSGi EventHandler or Sling Job Consumer that listens for:
-
In your handler, trigger an Email Service (com.day.cq.mailer.DefaultMailService) to send an email.
OR
-
Configure a custom workflow step after the duplication check in your asset ingestion workflow model.
-
-
In that step, use the Email Service to notify recipients with asset details.
Santosh Sai

