Hi Ah a nice component, maybe you would consider donate it to Apache Camel so we can have it in the box?
On Thu, Sep 25, 2014 at 9:14 PM, scottdawson <sc.e.daw...@gmail.com> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/