My employer wants me to count the MSH's in a file that the file reader polling finds. So when the file is done I can compare how many messages were processed with how many were in the file and then I know when I am on the last message. I have to update a database record when I am on the last message.
I have ....
try {
fileString = FileUtil.read(filename); // Currently not working.....
} catch(e1) { //do something here }
... but it throws an error.
Probably because Mirth has the file locked.
Was this a feature that 3.1 was bringing or is there a way to find out how many messages mirth found when it read in the file?
BTW: filename is the correct path and name when I log it.
I have ....
try {
fileString = FileUtil.read(filename); // Currently not working.....
} catch(e1) { //do something here }
... but it throws an error.
Probably because Mirth has the file locked.
Was this a feature that 3.1 was bringing or is there a way to find out how many messages mirth found when it read in the file?
BTW: filename is the correct path and name when I log it.
File Reader HL7
0 commentaires:
Enregistrer un commentaire