From EIP

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

Samples

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")

And examples in Spring XML Schema:

The route is defined inside a CamelContext.

<route>
  <from uri="file:c:/in" />
</route>