I am trying to invalidate dispatcher cache from author via SCD request as mentioned in this URL.
When I try this code. I am unable to find enum
DistributionRequestType.INVALIDATE
I tried going over the Javadoc of the same but could not find any similar reference. Does anyone know of any alternative or any other method of clearing dispatcher cache from author
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @omkar20xx1
I am readily able to use it with AEMaaCS SDK (Nov-23 release)
import org.apache.sling.distribution.DistributionRequestType;
String.valueOf(DistributionRequestType.INVALIDATE);
Hello @omkar20xx1
I am readily able to use it with AEMaaCS SDK (Nov-23 release)
import org.apache.sling.distribution.DistributionRequestType;
String.valueOf(DistributionRequestType.INVALIDATE);
Yes, I can see it now. I was using a different SDK version. Which caused the issue. Once i updated it. It was fine.