camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vvsh <>
Subject high performance file http streaming
Date Wed, 24 Sep 2014 05:34:42 GMT

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:
Sent from the Camel - Users mailing list archive at

View raw message