I am using an Sender File Adapter Channel and have configured content conversion. I get the below error.
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'Records':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
I tried to add the LasFieldsOptional with YES as value, then it passes through but some of the fields are skipped at the end.
Sample File Image and Content Conversion Parameters below.