camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam (Commented) (JIRA)" <>
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


Adam commented on CAMEL-4618:

to ensure we're on the same page,

Are you thinking something like this?

  marshal().pgp(pubKeyFilename, userid)
  .unmarchal().pgp(priKeyFilename, userid, pwd)

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

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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message