PGP cannot be processed unless the memory exists. I don't know of an in-stream component like you are talking about. You could write one with bouncy castle or make a code addition to the existing components to read from a stream. Then you could submit that back to the community. ;)
On Friday, December 20, 2013, David wrote: > We are looking at mule and camel and one feature which seemed promising in > Camel was the PGP component. My simple tests seem to indicate that when > decrypting a file, the entire contents are read into memory. We deal with > huge files and it was pretty easy for me to produce an OutOfMemory > exception. > > I am low on the Camel learning curve, but from what I have seen so far, the > pgp component does not stream. Ideally I would like to write a custom bean > which is given an InputStream which contains the decrypted pgp file > contents. Is this possible? > > Dave > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Can-Camel-process-PGP-files-which-would-exceed-available-JVM-memory-tp5745144.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39 <http://www.linkedin.com/pub/robert-simmons/40/852/a39>*
