I have a route thus:
<camel:route id="encryptRoute">
<camel:from uri="gwmq:queue:inbound_files" />
<camel:transacted/>
<to
uri="log:encrypt?showBody=true&showHeaders=true&showProperties=true&multiline=true&level=INFO"/>
<marshal><pgp keyFileName="file:c:/gnupg/pubring.gpg" keyUserid="DTSHUB"
/></marshal>
<camel:to uri="gwmq:queue:encrypted_inbound_files" />
</camel:route>
The route throws a very generic org.apache.camel.CamelExecutionException and
a stack trace which doesn't really suggest what the error might be (see
below).
It found the keyring file OK because if I specify that incorrectly can't
find that it throws a sensible file not found exception.
It is also finding the public key, because if I specify the wrong keyUserId
it complains the public key is not found.
I'm using the bouncy castle 1.46 jars.
Has anyone any idea what the problem might be?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-encrypting-data-using-PGP-data-format-tp5729203.html
Sent from the Camel - Users mailing list archive at Nabble.com.