anchor.diff:  and pull requests should be submitted there:
   https://github.com/quarkusio/quarkus/tree/master/docs/src/main/asciidoc
   ////
  -= Quarkus - Using Artemis JMS extension
  += Quarkus - Using JMS
   include::./attributes.adoc[]
   :extension-status: preview
   
  -This guide demonstrates how your Quarkus application can use Artemis JMS messaging.
  +
  +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[]
   
  
positive.code: }
  ----
  
  == 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:
  
negative.code: ./mvnw package -Pnative
  ----
  
  Or, if you don't have GraalVM installed, you can instead use Docker to build the native executable using:
  [source, shell]
  ----
  ./mvnw package -Pnative -Dquarkus.native.container-build=true
  ----
  
  and then run with:
  
  [source, shell]
  ----
  ./target/jms-quickstart-1.0-SNAPSHOT-runner
  ----
  
  Open `http://localhost:8080/prices.html` in your browser.
  
  '''
  
  
  [#artemis-jms]
  == Artemis JMS
  
  The above steps detailed using the Qpid JMS AMQP client, however the guide can also be used
  with the Artemis JMS client. Many of the individual steps are exactly as previously
  <<qpid-jms-amqp, detailed above for Qpid JMS>>. The individual component code is the same.
  The only differences are in the dependency for the initial project creation, and the
  configuration properties used. These changes are detailed below and should be substituted
  for the equivalent step during the sequence above.
  
  === Solution
  
  You can go can go right to the completed example.
  
  Clone the Git repository: `git clone {quickstarts-clone-url}`, or download an {quickstarts-archive-url}[archive].
  
  The Artemis JMS solution is located in the `jms-quickstart` {quickstarts-tree-url}/jms-quickstart[directory].
  
  === Creating the Maven Project
  
  Create a new project with the following command:
  
  [source, subs=attributes+]
  ----
  mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}:create \
      -DprojectGroupId=org.acme \
      -DprojectArtifactId=jms-quickstart \
      -Dextensions="artemis-jms"
  cd jms-quickstart
  ----
  
  This creates a Maven project, with its pom.xml importing the quarkus-artemis-jms extension:
  [source]
  ----
  <dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-artemis-jms</artifactId>
  </dependency>
  ----
  
  With the project created, you can resume from <<starting-the-broker>> in the detailed steps above
  and proceed until configuring the `application.properties` file, when you should use the Artemis
  configuration below instead.
  
  === Configure the Artemis properties
  
  We need to configure the Artemis connection properties.
  This is done in the `src/main/resources/application.properties` file.
  
  [source]
  ----
  # Configures the Artemis properties.
  quarkus.artemis.url=tcp://localhost:61616
  quarkus.artemis.username=quarkus
  quarkus.artemis.password=quarkus
  ----
  
  With the Artemis properties configured, you can resume the steps above from <<get-it-running>>.
  
  === Configuration Reference
  
  include::{generated-dir}/config/quarkus-artemis-core.adoc[opts=optional, leveloffset=+1]
  