Hi,

To be more precise in my example for Issue 1, I am using a "direct:" between
the file producer and the PGP decryption:

*from('file:/home/user/Outbound?charset=utf-8&move=.processed&moveFailed=.failedProcessing&include=.*.xml.gpg&delete=false').to('direct:pgpDecryptStep');

PGPDataFormat pgpFmt = new PGPDataFormat();
pgpFmt.setKeyFileName('file:/home/user/PRIVATE_KEY.pgp');
pgpFmt.setKeyUserid('USER_ID');
pgpFmt.setArmored(false);
pgpFmt.setPassword('PASSWORD');

from('direct:pgpDecryptSte').unmarshal(pgpFmt).to('direct:decryptedData');
*

I believe this should not make a difference or cause this issue., or should
it?

Thanks,
Hassan




--
View this message in context: 
http://camel.465427.n5.nabble.com/PGP-decryption-from-File-route-tp5746035p5746136.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to