Re: Processing large PDF files using apache camel 2.10

2016-12-16 Thread ravi21588
Hi Claus, Thanks for the reply. Do you mean to place the pdf in a file location and use the stream component http://camel.apache.org/stream.html to get data as stream? Also can you please tell me how the data transfer happens using stream component? Using claim check EIP also at some point stores

Re: Processing large PDF files using apache camel 2.10

2016-12-15 Thread Claus Ibsen
Its likely better to store the PDF files on the file system, and read them in streaming if you need to process them. See this EIP http://camel.apache.org/claim-check.html If you store the pdf files as byte[] then that takes up direct memory. It all depends on the memory available to you, the siz

Processing large PDF files using apache camel 2.10

2016-12-14 Thread ravi21588
Hi all, I have an integration scenario to generate PDF from a document generation system. The document generation system generates byte [] data. The data can be huge enough,I need to transport the Byte array to jms queue. I have two components in camel for this integration which is connected using