[ https://issues.apache.org/jira/browse/CAMEL-4618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144642#comment-13144642 ]
Claus Ibsen commented on CAMEL-4618: ------------------------------------ And for the unit tests in camel-crypto. It would be nice to create *new* unit tests and keep the old ones as they are also perfect valid. And you can actually also define <pgp> once, in the <dataFormat> section in the Camel XML file, in the top. So that should allow you to once set username and password. > Add support for PGP data format in Java and XML DSLs > ---------------------------------------------------- > > Key: CAMEL-4618 > URL: https://issues.apache.org/jira/browse/CAMEL-4618 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.9.0 > Reporter: Claus Ibsen > Fix For: 2.10 > > Attachments: pgp-camel-core.patch, pgpdataformatv2.patch > > > The new PGP data format from CAMEL-4549 > requires to create it from Java code. > We should add some syntax sugar and have it in the DSL directly like the > other data formats. > We may also want to look into how to configure a public and private key file, > and have it load the PGPPublicKey and PGPPrivateKey for you automatic. > Instead of using the PGPDataFormatUtil class. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira