[英]How to use properties file in mirth channel and where we write code for it
I want to access channel source and destination file path from property file. 我想从属性文件访问通道源和目标文件路径。 Is it possible to use properties file in mirth?
可以在欢乐中使用属性文件吗?
The source and destination file path for a channel is stored in whatever database solution you've elected to use. 通道的源文件路径和目标文件路径存储在您选择使用的任何数据库解决方案中。 If you left it at default it will likely use a Derby flat file database, otherwise you can query this by reviewing the schema in whatever RDBMS you've chosen.
如果将其保留为默认设置,则可能会使用Derby平面文件数据库,否则可以通过在所选的任何RDBMS中查看模式来查询该数据库。 It's not recommended to modify the data in the Mirth database directly as it could cause data loss.
不建议直接修改Mirth数据库中的数据,因为这可能会导致数据丢失。
If you're saying you want to set the source or destination file path based on data in another file, you could do this using JavaScript to fetch the paths out of a file, write them to the channel map, then reference that variable when specifying the file path. 如果您要基于其他文件中的数据设置源文件或目标文件的路径,则可以使用JavaScript从文件中提取路径,将其写入通道映射,然后在指定时引用该变量文件路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.