Re: Reading a pdf file in camel

2011-06-02 Thread Taariq Levack
Great thanks, I'll also be looking for that component. Taariq On Thu, Jun 2, 2011 at 9:06 AM, Jean-Baptiste Onofré wrote: > Hi all, > > I wrote a Camel component based on iText for that. It also support POI. I > raised a Jira for that, I will add the patch beginning of the next week. > > Regards

Re: Reading a pdf file in camel

2011-06-02 Thread Jean-Baptiste Onofré
Hi all, I wrote a Camel component based on iText for that. It also support POI. I raised a Jira for that, I will add the patch beginning of the next week. Regards JB On 06/01/2011 05:34 PM, Christian Schneider wrote: The file component can read pdfs but it won´t interpret them. So you would

Re: Reading a pdf file in camel

2011-06-01 Thread Claus Straube
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 Exc

Re: Reading a pdf file in camel

2011-06-01 Thread sumatheja
I was about to try that out. Anyways thanks for the response. -- View this message in context: http://camel.465427.n5.nabble.com/Reading-a-pdf-file-in-camel-tp4445535p4445650.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Reading a pdf file in camel

2011-06-01 Thread Christian Schneider
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 t

Re: Reading a pdf file in camel

2011-06-01 Thread mitko . kolev
Maybe you should take a look at pdfbox http://pdfbox.apache.org/ From: sumatheja To: users@camel.apache.org Date: 01.06.2011 17:39 Subject: Re: Reading a pdf file in camel Thanks for the response.. my requirement is to read the data in the pdf. Is that possible? -- View this message

Re: Reading a pdf file in camel

2011-06-01 Thread sumatheja
Thanks for the response.. my requirement is to read the data in the pdf. Is that possible? -- View this message in context: http://camel.465427.n5.nabble.com/Reading-a-pdf-file-in-camel-tp4445535p4445597.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Reading a pdf file in camel

2011-06-01 Thread Claus Straube
Hi, I haven't done it yet - but I would try it. Should be a thing of 5 minutes ;) http://camel.apache.org/file2.html Best regards - Claus On 01.06.2011 17:17, sumatheja wrote: Hi, I'm a newbie to camel. Want to know if the file component in camel can read a pdf? if not is there a way to

Re: Reading a pdf file in camel

2011-06-01 Thread Christian Schneider
The file component can read pdfs but it won´t interpret them. So you would have to work with the bindary data. Are you interested in extracting the text of the document are do you want to just process the pdf as is? Christian Am 01.06.2011 17:17, schrieb sumatheja: Hi, I'm a newbie to