performance improvement: optimise FileProcessor for cases where the payload is 
a File
-------------------------------------------------------------------------------------

                 Key: CAMEL-94
                 URL: https://issues.apache.org/activemq/browse/CAMEL-94
             Project: Apache Camel
          Issue Type: Improvement
            Reporter: James Strachan
            Assignee: James Strachan
            Priority: Trivial


If we are given a File body, we could optmiise the implementation to use either 
[FileChannel. 
transferFrom()|http://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/FileChannel.html#transferFrom(java.nio.channels.ReadableByteChannel,%20long,%20long)]
 or 
[FileChannel.transferTo()|http://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/FileChannel.html#transferTo(long,%20long,%20java.nio.channels.WritableByteChannel)]

-- 
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