on 07-31-2017 10:03 PM
hi experts,
In a file sender adapter, I have to convert a file with the following structure:
H|1|2|3|4|<br>L|a|b|c|d<br>L|a|b|c|d<br>F|1|2|3|4 (no fixed field length)
The structure should be: Header, Line*, Footer
The problem is that there is no real line break in the file, only <br>
I tried to use the endSeparator parameter with '<br>', '<', '>' but no luck so far. Is there maybe a way to replace the string or maybe use the encoding option? Any hints appreciated...
thx
I solved this issue with a workaround using an adapter module to replace the '<br>' string with a newline before calling the MessageTransformBean
the adapter module was developed similar to this one:
Blog: Adapter Module ReplaceString
... but I still would like to know if there is a more 'standard' solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.