camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-94) performance improvement: optimise FileProcessor for cases where the payload is a File
Date Fri, 10 Aug 2007 07:17:05 GMT
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.


Mime
View raw message