简体   繁体   中英

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. It's not recommended to modify the data in the Mirth database directly as it could cause data loss.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM