camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4618) Add support for PGP data format in Java and XML DSLs
Date Sat, 05 Nov 2011 04:38:51 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-4618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144575#comment-13144575
] 

Adam commented on CAMEL-4618:
-----------------------------

to ensure we're on the same page,

Are you thinking something like this?

from("").
  marshal().pgp(pubKeyFilename, userid)
  .unmarchal().pgp(priKeyFilename, userid, pwd)
  to("");

For most cases, I would prefer to seteup the pubKeyFilename, priKeyFilename and password only
once (instead of each route).  I understand there is a need to override this at the route
level.

What is the best practice for doing this in camel?  Maybe check if an object exists in the
registry with a specific name such as pgpglobalconfig?  if so use those as defaults?   This
would save people repeating the same info on multiple routes or having to set properties.
    
                
> 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
>
>
> 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

        

Mime
View raw message