anchor.diff:  
   https://tika.apache.org/[Apache Tika] is a content analysis toolkit which is used to parse the documents in PDF, Open Document, Excel and many other well known binary and text formats using a simple uniform API. Both the document text and properties (metadata) are available once the document has been parsed.
   
  +== Configuration
  +
  +[cols="<m,<m,<2",options="header"]
  +|===
  +|Property Name|Default|Description
  +|quarkus.tika.tika-config-path||The resource path within the application artifact to the https://tika.apache.org/1.22/configuring.html[Tika configuration] resource. Typically a file named `tika-config.xml` is added to the root of the application resources path. The default configuration will be used if no configuration resource is available.
  +|quarkus.tika.parsers||Comma-separated list of the abbreviated or full parser class names which have to be loaded by the extension. Note that `pdf` and 'odf' abbreviations can be used to refer to PDF and OpenDocument format parsers and custom abbreviations must be used for all other parsers. Note that this property is mutually exclusive with the `tika-config-path` property.
  +|quarkus.tika.append-embedded-content|true|The document may have other embedded documents, for example, an Excel document may include a PDF content. If such an embedded content is available then, by default, it will be appended to the content of the master document, thus, in this example, the text extracted from PDF file will be appended to the text extracted from the Excel file. This property has to be set to `false` if one needs to access the content of the master and each of the embedded documents individually.  
  +|===
  +
  +
  +== Prerequisites
  +
  +To complete this guide, you need:
  +
  +* less than 20 minutes
  +* an IDE
  +* JDK 1.8+ installed with `JAVA_HOME` configured appropriately
  +* Apache Maven 3.5.3+
  +* Docker
  +* link:building-native-image-guide[GraalVM installed if you want to run in native mode]
  +
  +== Solution
  +
  +We recommend that you follow the instructions in the next sections and create the application step by step.
  +However, you can go right to the completed example.
  +
  +Clone the Git repository: `git clone {quickstarts-clone-url}`, or download an {quickstarts-archive-url}[archive].
  +
  +The solution is located in the `apache-tika` {quickstarts-tree-url}/apache-tika[directory].
  +
  +[NOTE]
  +====
  +The provided solution contains a few additional elements such as tests and testing infrastructure.
  +====
  +
  +
   == Creating the Maven Project
   
   First, we need a new project. Create a new project with the following command:
  
positive.code: [source, subs=attributes+]
  ----
  mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}:create \
      -DprojectGroupId=org.acme \
      -DprojectArtifactId=using-tika \
      -Dextensions="tika"
  ----
  
  This command generates a Maven project, importing the `tika` extension.
  
  If you already have your Quarkus project configured you can add the `tika` extension
  to your project by running the following command in your project base directory.
  
  [source,bash]
  ----
  mvn quarkus:add-extension -Dextensions="tika"
  ----
  
  This will add the following to your pom.xml:
  
negative.code:         <groupId>io.quarkus</groupId>
          <artifactId>quarkus-tika</artifactId>
      </dependency>
      <dependency>
          <groupId>io.quarkus</groupId>
          <artifactId>quarkus-resteasy</artifactId>
      </dependency>
  ----
  
  === Examine the generated JAX-RS resource
  
  Open the `src/main/java/org/acme/quickstart/tika/TikaParserResource.java` file and see the following content:
  
  [source,java]
  ----
  package org.acme.quickstart.tika;
  
  import javax.ws.rs.GET;
  import javax.ws.rs.Path;
  import javax.ws.rs.Produces;
  import javax.ws.rs.core.MediaType;
  
  @Path("/parse")
  public class TikaParserResource {
  
      @GET
      @Produces(MediaType.TEXT_PLAIN)
      public String hello() {
          return "hello";
      }
  }
  ----
  
  === Update the JAX-RS resource
  
  Next update `TikaParserResource` to accept and parse PDF and OpenDocument format documents:
  
  [source,java]
  ----
  package org.acme.quickstart.tika;
  
  import java.io.InputStream;
  import java.time.Duration;
  import java.time.Instant;
  
  import javax.inject.Inject;
  import javax.ws.rs.Consumes;
  import javax.ws.rs.POST;
  