File body types should send the contents of the File as a BytesMessage by 
default
---------------------------------------------------------------------------------

                 Key: CAMEL-299
                 URL: https://issues.apache.org/activemq/browse/CAMEL-299
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-jms
            Reporter: James Strachan
             Fix For: 1.4.0


We might wanna double check the handling of other kinds of InputStream / Reader 
/ ByteBuffer too...

If users want a TextMessage from the File they could always be explicit in the 
code...

{code}
from("file://foo/bar").convertBodyTo(String.class).to("activemq:SomeQueue");
{code}



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to