[ 
https://issues.apache.org/activemq/browse/CAMEL-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-299.
-------------------------------

    Resolution: Fixed

And java.nio.ByteBuffer is also handled.

> 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
>    Affects Versions: 1.4.0
>            Reporter: James Strachan
>            Assignee: Claus Ibsen
>             Fix For: 1.5.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