From
Options
The From eip supports 0 options, which are listed below.
| Name | Description | Default | Type |
|---|---|---|---|
note | The note for this node. | String | |
description | The description for this node. | String | |
uri | Required The endpoint URI to consume from. | String | |
variableReceive | To use a variable to store the received message body (only body, not headers). This makes it handy to use variables for user data and to easily control what data to use for sending and receiving. | String |
Example
In the route below, the route starts from a File endpoint.
-
Java
-
XML
-
YAML
from("file:inbox")
.to("log:inbox"); <route>
<from uri="file:inbox"/>
<to uri="log:inbox"/>
</route> - route:
from:
uri: file:inbox
steps:
- to:
uri: log:inbox