You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by vvsh <vv...@gmail.com> on 2014/09/24 07:34:42 UTC

high performance file http streaming

Hello

I need to make possibility to download images from rest service.
I try to use jetty and netty-http, but performance is not very good.

My code:

public File process(@Header("id") String id) {
    return Paths.get("images", id + "jpg.").toFile();
}


Maybe there are any other ways to transfer files?
Thanks in advance



--
View this message in context: http://camel.465427.n5.nabble.com/high-performance-file-http-streaming-tp5756924.html
Sent from the Camel - Users mailing list archive at Nabble.com.