anchor.diff:  }
   ----
   
  -== The price consumer
  +=== The price consumer
   
   The price consumer reads the prices from JMS, and stores the last one.
   Create the `src/main/java/org/acme/jms/PriceConsumer.java` file with the following content:
  
positive.code: * an IDE
  * JDK 1.8+ installed with `JAVA_HOME` configured appropriately
  * Apache Maven 3.5.3+
  * A running Artemis server, or Docker Compose to start one
  * GraalVM installed if you want to run in native mode.
  
  == Architecture
  
  In this guide, we are going to generate (random) prices in one component.
  These prices are written in an JMS queue (`prices`).
  Another component reads from the `prices` queue and stores the last price.
  The data can be fetch from a browser using a fetch button from a JAX-RS resource.
  
  == 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 `jms-quickstart` {quickstarts-tree-url}/jms-quickstart[directory].
  
  == Creating the Maven Project
  
  First, we need a new project. Create a new project with the following command:
  
  
negative.code: and pull requests should be submitted there:
  https://github.com/quarkusio/quarkus/tree/master/docs/src/main/asciidoc
  ////
  = Quarkus - Using JMS
  include::./attributes.adoc[]
  :extension-status: preview
  
  
  This guide demonstrates how your Quarkus application can use JMS messaging via the
  Apache Qpid JMS AMQP client, or alternatively the Apache ActiveMQ Artemis JMS client.
  
  include::./status-include.adoc[]
  
  