Bean — Binds a bean to Camel message exchanges
Table 7 describes the properties you can specify using the properties editor.
Table 7. Bean Properties
| Name | Description |
|---|---|
| Bean Type | Specifies the type of the bean. |
| Inherit Error Handler | Specifies whether the node should use the error handler configured for the
route. The default is Disabled. |
| Method | Specifies the method to invoke on the bean. If no value is provided Apache Camel
will attempt to determine the method to invoke. If no method can be determined a
AmbiguousMethodCallException exception is
thrown. |
| Bean Name | Specifies the name of the bean, from the Apache Camel configuration file, that
will process the message. This property corresponds to the
ref attribute in the XML source. |
| 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. |