## Name

Convert Body — Converts the message body to a form usable by the next endpoint

## Usage

The Convert Body pattern converts the body of the message into the specified Java type. It can also change the character encoding of the data.

The Convert Body pattern can appear anywhere in the body of the route.

## Properties

Table 47 describes the properties you can specify using the properties editor.

Table 47. Convert Body Properties

Name | Description
--- | ---
Type | Specifies the Java class to which the message body is converted. The type is specified using fully qualified Java type name.
Inherit Error Handler | Specifies whether the node should use the error handler configured for the route. The default is `Disabled`.
Charset | Specifies the character encoding to use.
Id | Specifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Camel XML file.
Description | Specifies a text description for the node. This description is included in the generated XML file, but it is informational only. It is not used by Apache Camel.