Table of Contents
Binds a bean to Camel message exchanges
Table 31, “Bean Properties” describes the properties you can specify using the properties editor.
Table 31. Bean Properties
| Name | Description |
|---|---|
| Specifies the type of the bean. |
| Specifies whether Apache Camel will cache the first Registry lookup. Default is disabled. NOTE: This property can be enabled only if the bean in the Registry is defined with a singleton scope. |
| 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. |
| Specifies a unique identifier for the endpoint. The tooling automatically generates an id for a node when it is created, but you can remove that id or replace it with your own. The Camel debugger requires all nodes with a breakpoint set to have a unique id. You can use the id to refer to endpoints in your Camel XML file. |
| 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. |
| Specifies whether to treat the parameters passed in the In message body as an array of parameters. Default is disabled. |
| Sets a reference to a bean to use. |
For more information, see Bean Component.