947d6d35-11b7-4f0c-b5ea-dc4bc02efbdb 2 Synchronize configMap from file to db Written for https://jira.teladoc.net/browse/DEVSD-5245 If Mirth Connect is running with the configurationMap set to persist to the filesystem then this channel will export the config map and write it to the database. This channel writes to the database in the same format used when configurationMap is set to persist to the database. This supports migrations by keeping the file-based config map synchronized to the database until such time as the config is changed to use the database. If a database configuration is detected, the channel will undeploy itself. 10 0 sourceConnector INTERVAL true 900000 0 0 true false false false false false false false false 1 true 8 0 17 0 None true false false 1 Default Resource [Default Resource] 1000 Remove all destinations. Work is entirely done in the JS Reader 0 true RAW RAW JavaScript JavaScript JavaScript Reader SOURCE true true 1 Destination 1 false false 10000 false 0 false false 1 false Default Resource [Default Resource] 1000 true none ${message.encodedData} RAW RAW JavaScript JavaScript RAW RAW JavaScript JavaScript Channel Writer DESTINATION true true // Modify the message variable below to pre process data return message; // This script executes once after a message has been processed // Responses returned from here will be stored as "Postprocessor" in the response map return; // This script executes once when the channel is deployed // You only have access to the globalMap and globalChannelMap here to persist data return; // This script executes once when the channel is undeployed // You only have access to the globalMap and globalChannelMap here to persist data return; true DEVELOPMENT false false false false STARTED true CONFIGMAPLOCATION STRING configmapLocation None Default Resource [Default Resource] true America/New_York 365 true false