From
Options
The From eip supports 1 options, which are listed below.
Name | Description | Default | Type |
---|---|---|---|
uri |
Required Sets the URI of the endpoint to use. |
String |
|
description |
Sets the description of this node. |
DescriptionDefinition |
Example
In the route below the route starts from a File endpoint.
- Java
-
from("file:inbox") .to("log:inbox");
- XML
-
<route> <from uri="file:inbox"/> <to uri="log:inbox"/> </route>
- YAML
-
- from: uri: file:inbox steps: - to: uri: log:inbox