Repository: camel Updated Branches: refs/heads/master 6e88e7a27 -> a46b0db62
Added Publish Subscribe Channel 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/91d0c703 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/91d0c703 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/91d0c703 Branch: refs/heads/master Commit: 91d0c703d1f2ad44a67a387219369a8f2451621c Parents: 6e88e7a Author: Andrea Cosentino <anco...@gmail.com> Authored: Wed Oct 26 13:24:58 2016 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Wed Oct 26 13:24:58 2016 +0200 ---------------------------------------------------------------------- .../main/docs/publish-subscribe-channel.adoc | 43 ++++++++++++++++++++ docs/user-manual/en/SUMMARY.md | 1 + 2 files changed, 44 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/91d0c703/camel-core/src/main/docs/publish-subscribe-channel.adoc ---------------------------------------------------------------------- diff --git a/camel-core/src/main/docs/publish-subscribe-channel.adoc b/camel-core/src/main/docs/publish-subscribe-channel.adoc new file mode 100644 index 0000000..c6ace55 --- /dev/null +++ b/camel-core/src/main/docs/publish-subscribe-channel.adoc @@ -0,0 +1,43 @@ +[[PublishSubscribeChannel-PublishSubscribeChannel]] +Publish Subscribe Channel +^^^^^^^^^^^^^^^^^^^^^^^^^ + +Camel supports the +http://www.enterpriseintegrationpatterns.com/PublishSubscribeChannel.html[Publish +Subscribe Channel] from the +link:enterprise-integration-patterns.html[EIP patterns] using for +example the following components: + +* link:jms.html[JMS] for working with JMS Topics for high performance, +clustering and load balancing +* link:xmpp.html[XMPP] when using rooms for group communication +* link:seda.html[SEDA] for working with SEDA in the same +link:camelcontext.html[CamelContext] which can work in pub-sub, but +allowing multiple consumers. +* link:vm.html[VM] as SEDA but for intra-JVM. + +image:http://www.enterpriseintegrationpatterns.com/img/PublishSubscribeSolution.gif[image] + +[[PublishSubscribeChannel-UsingRoutingLogic]] +Using Routing Logic ++++++++++++++++++++ + +Another option is to explicitly list the publish-subscribe relationship +in your routing logic; this keeps the producer and consumer decoupled +but lets you control the fine grained routing configuration using the +link:dsl.html[DSL] or link:xml-configuration.html[Xml Configuration]. + +*Using the link:fluent-builders.html[Fluent Builders]* + +*Using the link:spring-xml-extensions.html[Spring XML Extensions]* + +[[PublishSubscribeChannel-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/91d0c703/docs/user-manual/en/SUMMARY.md ---------------------------------------------------------------------- diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md index 5189028..d04baee 100644 --- a/docs/user-manual/en/SUMMARY.md +++ b/docs/user-manual/en/SUMMARY.md @@ -83,6 +83,7 @@ * [Pipes and Filter](pipes-and-filters.adoc) * Messaging Channels * [Point to Point Channel](point-to-point-channel.adoc) + * [Publish Subscribe Channel](point-to-point-channel.adoc) * Message Construction * [Correlation Identifier](correlation-identifier.adoc) * [Event Message](event-message.adoc)