Thanks David. I've already set the class path for 'pubring.gpg', I am getting the following exceptions:
Exception in thread "main" org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> Marshal[org.apache.camel.model.dataformat.PGPDataFormat@7e346322] <<< in route: Route[[From[direct:inline]] -> [Marshal[org.apache.camel.mod... because of Data format 'pgp' could not be created. Ensure that the data format is valid and the associated Camel component is present on the classpath Code: context.addRoutes(new RouteBuilder() { public void configure() { from("file:data/inbox") .marshal().pgp("pubring.gpg", "Chandra") .to("file:data/outbox"); } }); Anything wrong with above code? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/does-Camel-support-PGP-Encryption-tp5718723p5718733.html Sent from the Camel Development mailing list archive at Nabble.com.