Hello I tried for 2 days to solve this problem. I don't get it.
I have a LLP Listener and a FileWriter.
I want to change the & symbol to HTMLCode-amp inside of the incoming HL7 Message and write this modified Message to the file.
That works fine, but I am not able to write it to file. The transformer does not write the modified message to the encodedMessage.
My script is
How can I write the modified HL7 Message as String to the filewriter output?
Post edited by: dajos7, at: 12/14/2007 02:32
I have a LLP Listener and a FileWriter.
I want to change the & symbol to HTMLCode-amp inside of the incoming HL7 Message and write this modified Message to the file.
That works fine, but I am not able to write it to file. The transformer does not write the modified message to the encodedMessage.
My script is
Code:
var m = messageObject.getRawData(); logger.info("old: "+m); var m2 = m.replace("&", "HTMLCode-amp"); logger.info("new: "+m2); responseMap.put('Destination 1',m2);
Post edited by: dajos7, at: 12/14/2007 02:32
Comment