camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-94) performance improvement: optimise FileProcessor for cases where the payload is a File
Date Sat, 09 Aug 2008 16:52:52 GMT

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

Claus Ibsen resolved CAMEL-94.
------------------------------

    Resolution: Fixed

Fixed in rev 684296

> 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
>          Components: camel-core
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: James Strachan
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> 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