Starting point for a Camel Route that starts a route with a given Endpoint |
<from uri="" ref=""/>
Parameter |
Type |
Description |
---|---|---|
uri |
String |
URI describing a Camel Endpoint |
endpoint |
Endpoint |
a Camel Endpoint |
ref |
Bean |
Reference to an Endpoint bean definition |
Start a route with the File Endpoint. Each file in the directory creates an Exchange that is put into the camel route.
A camel route is started using from inside the configure method of the class RouteBuilder.
from("file:c:/in") |
The route is defined inside a CamelContext.
<route> <from uri="file:c:/in" /> </route> |