|
Starting point for a Camel Route that starts a route with a given Endpoint. The Endpoint can be from one of the many Camel Components. The component creates Camel Exchanges from their respective Sources and puts them into the route. SyntaxJava
Spring XML<from uri="" ref=""/> Parameters
ExamplesStart a route with the File Endpoint. Each file in the directory creates an Exchange that is put into the camel route. JavaA camel route is started using from inside the configure method of the class RouteBuilder.
from("file:c:/in")
Spring XML SchemaThe route is defined inside a CamelContext.
<route>
<from uri="file:c:/in" />
</route>
|