Type converters is only for message body, and not for attachments.
Attachments is seldom used, in fact only camel-mail and camel-cxf
(SOAP w/ attachments) are some of the few using them.

Also be careful when logging. See this FAQ
http://camel.apache.org/why-is-my-message-body-empty.html

Not sure if that is causing the body to be empty and fail when sending
an attachment. But try without any logger etc.



On Tue, Jan 28, 2014 at 7:55 PM, John Kramer
<jakra...@ascenditsolutions.com> wrote:
> Is this the approach that I should use?
> http://camel.apache.org/type-converter.html
>
> Here's my fear about proceeding along that path: Since camel isn't throwing
> a NoTypeConversionAvailableException exception, then my guess is that Camel
> is already using a type converter that it thinks works properly. If I create
> a new type converter to properly handle attachments, how do I even know that
> camel will select it?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/POP3-SMTP-exception-when-attachments-are-used-tp5746508p5746565.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to