Name
Marshal — Marshals data into a format for transmission over a transport or component
Usage
The marshal pattern uses Apache Camel's pluggable data format mechanism to convert messages into a format appropriate for transmission by one of the Apache Camel components.
The marshal pattern can be placed anywhere in the body of a route. However, it is typically placed before endpoints that transmit the message to another location.
Properties
Table 5.5 describes the properties you can specify using the properties editor.
Table 5.5. Marshal Properties
Name | Description |
---|---|
Data Format Type | Specifies the data type into which the data will be marshalled. For data formats that where configuration is required, the form configures the marshaller. |
Ref | Specifies a reference to a Spring bean configuring the Apache Camel data format to which the message body is marshaled. |
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. |