Hi everybody!
I'm using a file:inbound in order to take a txt file which contains a xml in plain text and after I transform it in string. The problem is that the final string has an additional character: '?'
I think that maybe is because of the xml header:Code:<file:inbound-channel-adapter id="filein" channel="filetoString" directory="${test.path}" filename-regex="FullTest.txt"/> <file:file-to-string-transformer id="transftoString" input-channel="filetoString" output-channel="createMessage" charset="UTF-8"/>
Any suggestion? thanks!Code:<?xml version="1.0" encoding="UTF-8"?> <this:data


Reply With Quote