Hi Team,
Currently I am on the migration of AEM 6.1 to 6.4. The below deprecated api code need to replace in my java class. kindly help me on this.
@Deprecated public static void processJob(org.osgi.service.event.Event job, JobProcessor processor)
Deprecated.
Process a job in the background and notify its success. This method also sends an acknowledge message to the job event handler.
JobUtil.processJob(event, this);
if(StringUtil.isBlank(localEvent)){
JobUtil.processJob(event, this); // this is the line i need replace in handleEvent(Event event) method
}