You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2017/03/01 16:44:05 UTC

[1/2] camel git commit: CAMEL-10831: adding documentation for reactive-streams example

Repository: camel
Updated Branches:
  refs/heads/master 6a51d7b8d -> 04cdbfd78


CAMEL-10831: adding documentation for reactive-streams example


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ba6fed84
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ba6fed84
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ba6fed84

Branch: refs/heads/master
Commit: ba6fed843e4321b854a51d755b0bcff02e6540e1
Parents: 6a51d7b
Author: Nicola Ferraro <ni...@gmail.com>
Authored: Wed Mar 1 17:38:50 2017 +0100
Committer: Nicola Ferraro <ni...@gmail.com>
Committed: Wed Mar 1 17:38:50 2017 +0100

----------------------------------------------------------------------
 .../camel-example-reactive-streams/readme.adoc  | 26 ++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ba6fed84/examples/camel-example-reactive-streams/readme.adoc
----------------------------------------------------------------------
diff --git a/examples/camel-example-reactive-streams/readme.adoc b/examples/camel-example-reactive-streams/readme.adoc
new file mode 100644
index 0000000..163a3ab
--- /dev/null
+++ b/examples/camel-example-reactive-streams/readme.adoc
@@ -0,0 +1,26 @@
+# Camel Example Reactive Streams
+
+This example shows some possible usages of the Camel reactive streams component.
+
+The following sample routes are started together in a spring-boot application (all routes use `reactor-core` as external reactive framework):
+
+- **examples.basic.camel-to-reactor**: shows how data generated by Camel route can be consumed by a reactive application.
+- **examples.basic.camel-to-reactor-in-out**: shows how Camel data can be processed by a reactive library and return back to Camel to complete the flow.
+- **examples.basic.reactor-to-camel**: shows how data generated by a reactive application can be consumed by a Camel route.
+- **examples.basic.reactor-to-camel-in-out**: shows how data generated by a reactive application can can be processed by Camel and return back to the library to complete the flow.
+- **examples.client-api.rest**: shows how a rest service can be defined using the reactive streams client API only.
+- **examples.client-api.workflow**: shows how multiple Camel endpoints can be used into a reactive streams processing flow.
+- **examples.others.rest**: shows how `Publisher` classes can be used as parameters or return types in beans.
+
+All routes are enabled by default, but they can be switched off by changing the `src/main/resources/application.yml` file.
+Each route is contained in a separate Java class.
+
+## How to run
+
+You can run this example using
+
+    mvn spring-boot:run
+
+## More information
+
+You can find more information about Apache Camel at the website: http://camel.apache.org/


[2/2] camel git commit: CAMEL-10831: adding documentation for java 8 examples

Posted by nf...@apache.org.
CAMEL-10831: adding documentation for java 8 examples


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/04cdbfd7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/04cdbfd7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/04cdbfd7

Branch: refs/heads/master
Commit: 04cdbfd782fd9a97a7d131e9d0d16589b7be8ee7
Parents: ba6fed8
Author: Nicola Ferraro <ni...@gmail.com>
Authored: Wed Mar 1 17:43:46 2017 +0100
Committer: Nicola Ferraro <ni...@gmail.com>
Committed: Wed Mar 1 17:43:46 2017 +0100

----------------------------------------------------------------------
 examples/camel-example-java8-rx/readme.adoc | 14 ++++++++++++++
 examples/camel-example-java8/readme.adoc    | 13 +++++++++++++
 2 files changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/04cdbfd7/examples/camel-example-java8-rx/readme.adoc
----------------------------------------------------------------------
diff --git a/examples/camel-example-java8-rx/readme.adoc b/examples/camel-example-java8-rx/readme.adoc
new file mode 100644
index 0000000..c956cc6
--- /dev/null
+++ b/examples/camel-example-java8-rx/readme.adoc
@@ -0,0 +1,14 @@
+# Camel Example Java 8 RX
+
+This example uses the `camel-rx` component to define a simple processing step using RxJava.
+The example uses features of Java 8, such as lambda expressions and method references.
+
+## How to run
+
+You can run this example using
+
+    mvn camel:run
+
+## More information
+
+You can find more information about Apache Camel at the website: http://camel.apache.org/

http://git-wip-us.apache.org/repos/asf/camel/blob/04cdbfd7/examples/camel-example-java8/readme.adoc
----------------------------------------------------------------------
diff --git a/examples/camel-example-java8/readme.adoc b/examples/camel-example-java8/readme.adoc
new file mode 100644
index 0000000..96f722a
--- /dev/null
+++ b/examples/camel-example-java8/readme.adoc
@@ -0,0 +1,13 @@
+# Camel Example Java 8
+
+This example shows how to use Java 8 new features, such as lambda expressions and method references, in the definition of a Camel route.
+
+## How to run
+
+You can run this example using
+
+    mvn camel:run
+
+## More information
+
+You can find more information about Apache Camel at the website: http://camel.apache.org/