You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2018/02/26 09:44:25 UTC
[camel] branch master updated: Fixed component doc
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new b16fdf9 Fixed component doc
b16fdf9 is described below
commit b16fdf947af2c108e35fd56ad4f0ef00f8613955
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Feb 26 10:40:03 2018 +0100
Fixed component doc
---
.../camel-tika/src/main/docs/tika-component.adoc | 30 +++++-----------------
1 file changed, 6 insertions(+), 24 deletions(-)
diff --git a/components/camel-tika/src/main/docs/tika-component.adoc b/components/camel-tika/src/main/docs/tika-component.adoc
index b9dc720..ce5e0aa 100644
--- a/components/camel-tika/src/main/docs/tika-component.adoc
+++ b/components/camel-tika/src/main/docs/tika-component.adoc
@@ -14,23 +14,17 @@ following dependency to their `pom.xml`:
*pom.xml*
[source,xml]
-------------------------------------------------------------
+----
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-tika</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
-------------------------------------------------------------
-
-### URI format
+----
The TIKA component only supports producer endpoints.
-[source,java]
------------------------
-tika:operation[?options]
------------------------
### Options
@@ -74,35 +68,23 @@ with the following path and query parameters:
// endpoint options: END
-### Headers
-[width="100%",cols="10%,90%",options="header",]
-|=======================================================================
-|Header |Description
-|=======================================================================
### To Detect a file's MIME Type
The file should be placed in the Body.
[source,java]
--------------------------------
+----
from("direct:start")
.to("tika:detect");
--------------------------------
+----
### To Parse a File
The file should be placed in the Body.
[source,java]
--------------------------------
+----
from("direct:start")
.to("tika:parse");
--------------------------------
-
-### See Also
-
-* Configuring Camel
-* Component
-* Endpoint
-* Getting Started
+----
--
To stop receiving notification emails like this one, please contact
davsclaus@apache.org.