getLogger().fine(format("Sending batch %d", batchNum));
}
db.getConnector().doOperation(getDB(), port, new DBPort.Operation<Void>() {
@Override
public Void execute() throws IOException {
buffer.pipe(port.getOutputStream());
return null;
}
});
return nextMessage;
} finally {