Name
Unmarshal — Converts the message data from the wire into a bean that Apache Camel processors can consume
Usage
The unmarshal pattern uses Apache Camel's pluggable data format mechanism to convert messages into a format appropriate for processing by Apache Camel.
The unmarshal pattern can be placed anywhere in the body of a route. However, it is typically placed after endpoints that receive the message.
Properties
Table 5.17 describes the properties you can specify using the properties editor.
Table 5.17. Unmarshal Properties
Name | Description |
---|---|
Data Format Type | Specifies the data type from which the data will be unmarshalled. For data formats that where configuration is required, the form configures the unmarshaller. |
Ref | Specifies a reference to a Spring bean configuring the Apache Camel data format to which the message body is unmarshaled. |
Id | Specifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Apache Camel configuration file. |
Description | Specifies a text description of the bean. The description is included in the generated XML file. |