camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: Added Message Channel EIP docs to Gitbook
Date Mon, 26 Sep 2016 10:08:27 GMT
Repository: camel
Updated Branches:
  refs/heads/master fbb25f71c -> d2b911801


Added Message Channel EIP docs to Gitbook


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

Branch: refs/heads/master
Commit: d2b91180108a6bb7b32b8e65fde55b0bdb5e31e0
Parents: fbb25f7
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Mon Sep 26 12:07:40 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Mon Sep 26 12:07:40 2016 +0200

----------------------------------------------------------------------
 camel-core/src/main/docs/message-channel.adoc | 58 ++++++++++++++++++++++
 docs/user-manual/en/SUMMARY.md                |  1 +
 2 files changed, 59 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d2b91180/camel-core/src/main/docs/message-channel.adoc
----------------------------------------------------------------------
diff --git a/camel-core/src/main/docs/message-channel.adoc b/camel-core/src/main/docs/message-channel.adoc
new file mode 100644
index 0000000..67c34e9
--- /dev/null
+++ b/camel-core/src/main/docs/message-channel.adoc
@@ -0,0 +1,58 @@
+[[MessageChannel-MessageChannel]]
+Message Channel
+^^^^^^^^^^^^^^^
+
+Camel supports the
+http://www.enterpriseintegrationpatterns.com/MessageChannel.html[Message
+Channel] from the link:enterprise-integration-patterns.html[EIP
+patterns]. The Message Channel is an internal implementation detail of
+the
+http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Endpoint.html[Endpoint]
+interface and all interactions with the Message Channel are via the
+Endpoint interfaces.
+
+image:http://www.enterpriseintegrationpatterns.com/img/MessageChannelSolution.gif[image]
+
+
+*Example*
+
+In JMS, Message Channels are represented by topics and queues such as
+the following
+
+[source,text]
+-------------
+jms:queue:foo
+-------------
+
+This message channel can be then used within the
+link:jms.html[JMS] component
+
+*Using the link:fluent-builders.html[Fluent Builders]*
+
+[source,java]
+-------------------
+to("jms:queue:foo")
+-------------------
+
+*Using the link:spring-xml-extensions.html[Spring XML Extensions]*
+
+[source,xml]
+-------------------------
+<to uri="jms:queue:foo"/>
+-------------------------
+
+For more details see
+
+* link:message.html[Message]
+* link:message-endpoint.html[Message Endpoint]
+
+[[MessageChannel-UsingThisPattern]]
+Using This Pattern
+++++++++++++++++++
+
+If you would like to use this EIP Pattern then please read the
+link:getting-started.html[Getting Started], you may also find the
+link:architecture.html[Architecture] useful particularly the description
+of link:endpoint.html[Endpoint] and link:uris.html[URIs]. Then you could
+try out some of the link:examples.html[Examples] first before trying
+this pattern out.

http://git-wip-us.apache.org/repos/asf/camel/blob/d2b91180/docs/user-manual/en/SUMMARY.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md
index 8169d7f..b1d1d8d 100644
--- a/docs/user-manual/en/SUMMARY.md
+++ b/docs/user-manual/en/SUMMARY.md
@@ -76,6 +76,7 @@
     * [Correlation Identifier](correlation-identifier.adoc)
     * [Event Message](event-message.adoc)
     * [Message](message.adoc)
+    * [Message Channel](message-channel.adoc)
     * [Request Reply](request-reply.adoc)
     * [Return Address](return-address.adoc)
 


Mime
View raw message