[ 
https://issues.apache.org/jira/browse/CAMEL-11497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360495#comment-16360495
 ] 

ASF GitHub Bot commented on CAMEL-11497:
----------------------------------------

onderson closed pull request #2221: CAMEL-11497 - add from-eip by manually 
formatting adoc which is taken…
URL: https://github.com/apache/camel/pull/2221
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 00000000000..80d4f5f6b0a
--- /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


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Migrate the rest of the Confluence content
> ------------------------------------------
>
>                 Key: CAMEL-11497
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11497
>             Project: Camel
>          Issue Type: Sub-task
>          Components: website
>            Reporter: Zoran Regvart
>            Assignee: Önder Sezgin
>            Priority: Major
>
> There are still pages in the Confluence that are not migrated to Asciidoctor



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to