buffer.getMessage().append("Filename: " + bos.getTempFile().getAbsolutePath() + "\n");
}
if (bos.size() > limit) {
buffer.getMessage().append("(message truncated to " + limit + " bytes)\n");
}
bos.writeCacheTo(buffer.getPayload(), limit);
bos.close();
} catch (IOException e) {
throw new Fault(e);
}