This is an automated email from the ASF dual-hosted git repository. onders pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new ce6fd4d CAMEL-11497 - add from-eip by manually formatting adoc which is taken by cxf-web export ce6fd4d is described below commit ce6fd4d9bf095226fab8ea2690ce1c94b542b90f Author: onders86 <ondersez...@gmail.com> AuthorDate: Mon Feb 12 11:18:16 2018 +0300 CAMEL-11497 - add from-eip by manually formatting adoc which is taken by cxf-web export --- camel-core/src/main/docs/eips/from-eip.adoc | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/camel-core/src/main/docs/eips/from-eip.adoc b/camel-core/src/main/docs/eips/from-eip.adoc new file mode 100644 index 0000000..80d4f5f --- /dev/null +++ b/camel-core/src/main/docs/eips/from-eip.adoc @@ -0,0 +1,40 @@ +[[from-eip]] +== From EIP +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](https://github.com/apache/camel/tree/master/components). The component creates Camel exchanges from their respective sources and puts them into the route. + +=== Options + +// eip options: START +The Loop EIP supports 2 options which are listed below: + + +[width="100%",cols="2,5,^1,2",options="header"] +|=== +| Name | Description | Default | Type +| *uri* | URI describing a Camel Endpoint | | String +| *endpoint* | a Camel Endpoint | | Endpoint +| *ref* | Reference to an Endpoint bean definition | | Bean +|=== +// eip options: END + +=== 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* + +[source,java] +---- +from("file:c:/in") +---- + +And examples in Spring XML Schema: + +The route is defined inside a CamelContext. + +[source,xml] +---- +<route> + <from uri="file:c:/in" /> +</route> +---- \ No newline at end of file -- To stop receiving notification emails like this one, please contact ond...@apache.org.