Path: redb/redb.Templates/templates/route-xml/redb-route-file/.template.config/template.json Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Templates/templates/route-xml/redb-route-file/.template.config/template.json ---- { "$schema": "http://json.schemastore.org/template", "author": "RedBase", "classifications": [ "Integration", "XML", "Tsak", "RedBase", "RouteXml" ], "identity": "RedBase.Route.Xml.File", "name": "redb.Route XML module: files", "description": "Files in XML markup: an inbox, done and error folders, a receipt per file; CSV files in C#; local disk, FTP or SFTP.", "shortName": "redb-route-file", "tags": { "type": "project", "redbSmoke": "pack" }, "sourceName": "RouteModule", "preferNameDirectory": true, "symbols": { "context": { "type": "parameter", "datatype": "string", "defaultValue": "", "displayName": "Context name", "description": "The route context the module runs in. Empty: the module name in lower case." }, "nameLower": { "type": "generated", "generator": "casing", "parameters": { "source": "name", "toLower": true }, "fileRename": "routemodule" }, "contextName": { "type": "generated", "generator": "coalesce", "parameters": { "sourceVariableName": "context", "fallbackVariableName": "nameLower" }, "replaces": "modulectx" }, "transport": { "type": "parameter", "datatype": "choice", "choices": [ { "choice": "file", "description": "A folder of the worker's file system (a local disk or a mounted share)" }, { "choice": "ftp", "description": "An FTP server (FTPS with UseFtps)" }, { "choice": "sftp", "description": "An SFTP server (SSH)" } ], "defaultValue": "file", "displayName": "Transport", "description": "Where the inbox and outbox folders are: the connector, its URI scheme and, for FTP and SFTP, the connection bean." }, "scheme": { "type": "generated", "generator": "switch", "replaces": "file://", "parameters": { "evaluator": "C++", "datatype": "string", "cases": [ { "condition": "(transport == \"ftp\")", "value": "ftp://" }, { "condition": "(transport == \"sftp\")", "value": "sftp://" }, { "condition": "(true)", "value": "file://" } ] } }, "headerPrefix": { "type": "generated", "generator": "switch", "replaces": "redbFile.", "parameters": { "evaluator": "C++", "datatype": "string", "cases": [ { "condition": "(transport == \"ftp\")", "value": "redbFtp." }, { "condition": "(transport == \"sftp\")", "value": "redbSftp." }, { "condition": "(true)", "value": "redbFile." } ] } }, "connection": { "type": "generated", "generator": "switch", "replaces": "?connectionFactory=remote&", "parameters": { "evaluator": "C++", "datatype": "string", "cases": [ { "condition": "(transport == \"file\")", "value": "?" }, { "condition": "(true)", "value": "?connectionFactory=remote&" } ] } } }, "sources": [ { "exclude": [ "**/[Bb]in/**", "**/[Oo]bj/**", ".template.config/**/*", "**/*.filelist", "**/*.user", "**/*.lock.json", "pkg/**", "schema/**", "deploy/.env", "deploy/data/**" ] } ] }