concept payload in category camel

appears as: payload, payload, payloads
Camel in Action

This is an excerpt from Manning's book Camel in Action.

Camel can route any kind of payload; you aren’t restricted to carrying a normalized format such as XML payloads. This freedom means you don’t have to transform your payload into a canonical format to facilitate routing.

Figure 14.1 Using the camel-crypto data format, you can handle encryption and decryption of payloads within your Camel route. This gives you full control over what transport you send over—for example, an unsecured HTTP pipe.

c14_01.png

At the mock:encrypted endpoint, the payload is encrypted, and at the mock:unencrypted endpoint, the payload is back to plain text. This route demonstrates how easily you can encrypt and decrypt a payload in Camel. After you’ve loaded your key and set up your data format, that’s all there is to it.