Excerpt |
---|
Starting point for a Camel Route |
that starts a route with a given Endpoint |
Syntax
Java
- from(String uri)
Parameters
Parameter | Description |
---|---|
uri | URI describing a Camel Endpoint |
...
- from(Endpoint
...
- endPoint)
Parameters
Parameter | Description |
---|---|
uri | URI describing a Camel Endpoin |
Spring XML
<from uri="" ref=""/>
Parameters
Parameter | Type | Description |
---|---|---|
uri | String | URI describing a Camel Endpoint |
endpoint | Endpoint | a Camel Endpoint |
...
ref | Bean | Reference to an Endpoint bean definition |
Examples
Start a route with the File Endpoint. Each file in the directory creates an Exchange that is put into the camel route.
...