{
  "factory": {
    "id": "file-connector-out",
    "type": "entaxy.runtime.connector",
    "parent": "connection-based-connector-out",
	"shortName": "file",
	"displayName": "FILE :: OUT",
    "description": "The File component provides access to file systems, allowing files to be processed by any other Camel Components or messages from other components to be saved to disk. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/file-component.html\">Camel docs</a>",
    "label": "connector,file",
    "isAbstract": false,
    "requires": ["file-connection"]
  },
  "entaxy.runtime.connector": {
  	"type": "file",
  	"protocol": "file"
  },
  "fields": {
		"entaxyOriginConnection": {
	        "displayName": "File Connection",
			"filter": "(&(type=entaxy.runtime.connection)(label=*file*))"
		}    
  },
	"outputs": {
		"init": {
			"isDefault": true,
			"fields": {
			    "camel_directoryName": {
			      "group": "general",
			      "defaultValue": {
			        "@CALCULATED": {
			          "expression": "${objectId}",
			          "fallbackObject": null,
			          "lazy": false
			        }
			      }
			    },
				"@IMPORT": [{
					"sourceFactoryId": "file-connection",
					"location": "outputs.producer.fields",
					"prefix": "",
					"filter": {
						"contained": [{
								"attribute": "##origin",
								"values": ["camel"]
							}
						]
					}
				}
				]
			},
			"config": {
				"configurable": true,
				"fieldsConfigurableByDefault": true,
				"configurableFields": {
					"includeNames":["camel_directoryName"],
					"includePatterns":[]
				}
			}
		}
	}
}
