Hello, I wrote a component based on the code shown here: http://code.notsoclever.cc/writing-camel-component-camel-static-resource/ <http://code.notsoclever.cc/writing-camel-component-camel-static-resource/> 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. Regards, Scott -- View this message in context: http://camel.465427.n5.nabble.com/Corrupt-pdf-from-classpath-tp5756921p5757022.html Sent from the Camel - Users mailing list archive at Nabble.com.