Sérgio,
Acho que o FileMessageContext não está terminado. Correto?
Estava dando uma olhada no código:
Code:
public FileMessageContext(String file, String dir) {
if (dir != null) setDir(dir);
StringBuffer sb = new StringBuffer(getDir() + "/");
sb.append(file);
}
Estará faltando setar o Path?