filename = shortFilename;
File file = new File(filename);
FileInputStream fis = new FileInputStream(file);
XBStreamingMessage msg = session.createStreamingMessage(this);
msg.setIntProperty(XBConnectionMetaData.JMSX_MAX_CHUNK_SIZE, this.initialDumpMaxSize);
msg.setStringProperty(FILENAME_ATTR, shortFilename);
msg.setLongProperty(REPL_KEY_ATTR, minKey);
msg.setStringProperty(DUMP_ACTION, "true");
if (initialFilesLocation != null) {
msg.setStringProperty(INITIAL_FILES_LOCATION, initialFilesLocation);
msg.setStringProperty(INITIAL_DATA_ID, dumpId);
}
msg.setInputStream(fis);
producer.send(msg);
// make a version copy if none exists yet
boolean doDelete = true;
if (currentVersion != null) {
String backupFileName = this.initialCmdPath + File.separator + VersionTransformerCache.buildFilename(this.replPrefix, currentVersion);