From
Options
The From eip supports 0 options, which are listed below.
Name | Description | Default | Type |
---|---|---|---|
description |
Sets the description of this node. |
String |
|
uri |
Required Sets the URI of the endpoint to use. |
String |
|
variableReceive |
To use a variable to store a copy of the received message body (only body, not headers). This is handy for easy access to the received message body via variables. |
String |
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