How you extract the attachment from the e-mail? On Wed, Apr 5, 2017 at 11:15 PM, Gary [via Camel] < ml-node+s465427n5797029...@n5.nabble.com> wrote:
> 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 > characters. > > > Gary Lee Mills > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/JAXB-Marshalling-from- > email-route-tp5797029.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-Marshalling-from-email-route-tp5797029p5797030.html Sent from the Camel - Users mailing list archive at Nabble.com.