Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0CCDA18C09 for ; Thu, 10 Mar 2016 08:34:22 +0000 (UTC) Received: (qmail 99701 invoked by uid 500); 10 Mar 2016 08:34:22 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 99653 invoked by uid 500); 10 Mar 2016 08:34:21 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 99644 invoked by uid 99); 10 Mar 2016 08:34:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 08:34:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B76DCDFA6F; Thu, 10 Mar 2016 08:34:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: acosentino@apache.org To: commits@camel.apache.org Message-Id: <4b07739398d745fabc1d0ad8863be02b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: camel git commit: Added camel-eventadmin docs to gitbook Date: Thu, 10 Mar 2016 08:34:21 +0000 (UTC) Repository: camel Updated Branches: refs/heads/master e253b5b28 -> 69f50dad8 Added camel-eventadmin 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/69f50dad Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/69f50dad Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/69f50dad Branch: refs/heads/master Commit: 69f50dad8546aa7f2ba59fe9d9ae6a1a8e7aab78 Parents: e253b5b Author: Andrea Cosentino Authored: Thu Mar 10 09:34:00 2016 +0100 Committer: Andrea Cosentino Committed: Thu Mar 10 09:34:01 2016 +0100 ---------------------------------------------------------------------- .../src/main/docs/eventadmin.adoc | 76 ++++++++++++++++++++ docs/user-manual/en/SUMMARY.md | 1 + 2 files changed, 77 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/69f50dad/components/camel-eventadmin/src/main/docs/eventadmin.adoc ---------------------------------------------------------------------- diff --git a/components/camel-eventadmin/src/main/docs/eventadmin.adoc b/components/camel-eventadmin/src/main/docs/eventadmin.adoc new file mode 100644 index 0000000..4e621f3 --- /dev/null +++ b/components/camel-eventadmin/src/main/docs/eventadmin.adoc @@ -0,0 +1,76 @@ +[[EventAdmin-EventAdmincomponent]] +EventAdmin component +~~~~~~~~~~~~~~~~~~~~ + +*Available in Camel 2.6* + +The `eventadmin` component can be used in an OSGi environment to receive +OSGi EventAdmin events and process them. + +[[EventAdmin-Dependencies]] +Dependencies +^^^^^^^^^^^^ + +Maven users need to add the following dependency to their `pom.xml` + +[source,xml] +------------------------------------------- + + org.apache.camel + camel-eventadmin + ${camel-version} + +------------------------------------------- + +where `${camel-version`} must be replaced by the actual version of Camel +(2.6.0 or higher). + +[[EventAdmin-URIformat]] +URI format +^^^^^^^^^^ + +[source,xml] +-------------------------- +eventadmin:topic[?options] +-------------------------- + +where `topic` is the name of the topic to listen too. + +[[EventAdmin-URIoptions]] +URI options +^^^^^^^^^^^ + +[width="100%",cols="10%,10%,80%",options="header",] +|======================================================================= +|Name |Default value |Description + +|`send` |`false` |Whether to use 'send' or 'synchronous' deliver. Default false (async +delivery) +|======================================================================= + +[[EventAdmin-Messageheaders]] +Message headers +^^^^^^^^^^^^^^^ + +[width="100%",cols="10%,10%,80%",options="header",] +|======================================================================= +|Name |Type |Message |Description +|======================================================================= + +[[EventAdmin-Messagebody]] +Message body +^^^^^^^^^^^^ + +The `in` message body will be set to the received Event. + +[[EventAdmin-Exampleusage]] +Example usage +^^^^^^^^^^^^^ + +[source,xml] +------------------------------ + + + + +------------------------------ http://git-wip-us.apache.org/repos/asf/camel/blob/69f50dad/docs/user-manual/en/SUMMARY.md ---------------------------------------------------------------------- diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md index 684f346..2dce1fe 100644 --- a/docs/user-manual/en/SUMMARY.md +++ b/docs/user-manual/en/SUMMARY.md @@ -124,6 +124,7 @@ * [Eclipse](eclipse.adoc) * [ElasticSearch](elasticsearch.adoc) * [Elsql](elsql.adoc) + * [Eventadmin](eventadmin.adoc) * [Ironmq](ironmq.adoc) * [JMS](jms.adoc) * [Metrics](metrics.adoc)