camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vvsh <vvs...@gmail.com>
Subject high performance file http streaming
Date Wed, 24 Sep 2014 05:34:42 GMT
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.

Mime
View raw message