camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scottdawson <>
Subject Re: Corrupt pdf from classpath
Date Thu, 25 Sep 2014 19:14:28 GMT
I wrote a component based on the code shown here:
to deliver static files, mostly PNG files in my case but I see no reason why
it won't work for PDFs.

The first code sample in the article gives everything needed to deliver
static files and it detects the type of the file to set the HTTP
Content-Type header correctly.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message