camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary <>
Subject JAXB Marshalling from email route
Date Wed, 05 Apr 2017 21:15:53 GMT
hello, I am wondering if anyone has seen this before. 
a route that does JAXB unmarshalling. it works fine. it works as it should. 
however, if I send the XML file as an attachment and pick the XML attachment
from the email, then process it. I get the following exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '�'
(code 65533 / 0xfffd) in prolog; expected '<'

IF I use the same XML files, place on the file system to be consumed ALSO if
I send it by SFTP/FTP it works fine. If I send the XML as an attachment -
extra characters are introduced. ???
I've tried plain/text, rich Text, html, format of the email on outlook, this
doesn't do anything. 

something with the email sending to route is introducing hidden or special

Gary Lee Mills
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message