947d6d35-11b7-4f0c-b5ea-dc4bc02efbdb2Synchronize configMap from file to dbWritten 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.100sourceConnectorINTERVALtrue90000000truefalsefalsefalsefalsefalsefalsefalsefalse1true80170Nonetruefalsefalse1Default Resource[Default Resource]1000Remove all destinations. Work is entirely done in the JS Reader0trueRAWRAWJavaScriptJavaScriptJavaScript ReaderSOURCEtruetrue1Destination 1falsefalse10000false0falsefalse1falseDefault Resource[Default Resource]1000truenone${message.encodedData}RAWRAWJavaScriptJavaScriptRAWRAWJavaScriptJavaScriptChannel WriterDESTINATIONtruetrue// 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;trueDEVELOPMENTfalsefalsefalsefalseSTARTEDtrueCONFIGMAPLOCATIONSTRINGconfigmapLocationNoneDefault Resource[Default Resource]trueAmerica/New_York365truefalse