# cSetBody

Sets the message body in the Route.

cSetBody replaces the payload of each message sent to it.

For more information, see the Apache camel documentation https://camel.apache.org/components/latest/.

## cSetBody Standard properties

These properties are used to configure cSetBody running in the Standard Job framework.

The Standard cSetBody component belongs to the Core family.

## Basic settings

| Properties | Description |
| --- | --- |
| Language | Select the language of the expression you use to set the content<br>for matched messages, from None,<br>Bean, CONSTANT, CorrelationID,<br>EL, GROOVY, HEADER, JoSQL, JSonPath, JXPATH,<br>MVEL, OGNL, PHP, PROPERTY, PYTHON, RUBY, SIMPLE, SpEL,<br>SQL, XPATH, and XQUERY.<br><br>For more information about how to use the languages to create an expression, see<br>the site http://camel.apache.org/languages.html. |
| Expression | Type in the expression to set the message content. |
| Correlation expression/Add<br>Namespaces | This option appears when XPath is selected in the<br>Language list.<br><br>Select this check box to add namespaces for the Xpath expression.<br>Click [+] to add as many namespaces<br>as required to the table and define the prefix and URI in the<br>corresponding columns. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | cSetBody is used as a middle<br>component in a Route. |
| Limitation | n/a |