if (logger.isErrorEnabled())
logger.error("Failed to recursivly delete endpoint " + endpointName, e);
}
String path = getPathByEndpoint(muleClient, sftpClient, endpointName);
channelSftp.mkdir(path);
}
finally
{
sftpClient.disconnect();
if (logger.isDebugEnabled()) logger.debug("Done init endpoint directory: " + endpointName);