To do this with camel today you need a processor (if you don't want to
wait for the implementation ;). It should work with something like this:
from("file:///my-pdfs?noop=true&fileName=hello.pdf").process(new
Processor() {
public void process(Exchange exchange) throws
Exception {
GenericFile file =
exchange.getIn().getBody(GenericFile.class);
// do something with pdfbox here...
}
}).to("mock://out");
On 01.06.2011 17:44, Christian Schneider wrote:
Yes and there is already an issue open to create a component for it:
https://issues.apache.org/jira/browse/CAMEL-3552
It the mean time it is the easiest way to create a custom processor
and call pdfbox from there.
Christian
Am 01.06.2011 17:40, schrieb mitko.ko...@icw.de:
Maybe you should take a look at pdfbox http://pdfbox.apache.org/