camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <>
Subject Re: XML DSL for Encrpt decrypt data
Date Fri, 27 Sep 2013 14:51:47 GMT
"keyRef" is a reference to a Object in the Camel
Registry. To see how it works, take a look at one of the tests:

<crypto id="initvector" algorithm="DES/CBC/PKCS5Padding" keyRef="desKey"
initVectorRef="initializationVector" />

<bean id="desKey"
factory-method="getDesKey" />

The latter method is available here:


On Fri, Sep 27, 2013 at 8:05 AM, apdwivedi1208 <>wrote:

> I am new to camel and was trying to encrypt/decrypt data using camel XML
> DSL.
> <dataFormats>
>         <crypto id="initvector" algorithm="DES" keyRef="desKey"  />
> </dataFormats>
> but it was unable to understand desKey So i have tried couple of thing to
> define desKey as a bean using "SecretKeySpec" and "KeyGenerator" class but
> noting is working. I am also not able to find any working example on it.
> Please help to get an example on XML dsl for data encryption.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Colm O hEigeartaigh

Talend Community Coder

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message