LOG.error("Publisher.processAndDispatch(source={}): consumer={}: some other process has locked this file {}",this.source,notificationHandlerName,record.getPath(),ex);
ret=false;
}catch(FileNotFoundExceptionex){
LOG.error("Publisher.processAndDispatch(source={}): consumer={}: file not found {}",this.source,notificationHandlerName,record.getPath(),ex);
ret=true;
}catch(Exceptionex){
LOG.error("Publisher.processAndDispatch(source={}): consumer={}: failed for file {}",this.source,notificationHandlerName,record.getPath(),ex);
ret=false;
}finally{
fileLockedRead.close();
}
}else{
LOG.error("Publisher.processAndDispatch(source={}): publisher={}: file '{}' not found!",this.source,notificationHandlerName,record.getPath());