activemq-artemis/examples/features/standard/durable-subscription
Michael Andre Pearce 9c6df111e8 ARTEMIS-1129: Client Dependencies
Update examples where only client used, to use the shaded single client jar.
2017-05-17 18:02:33 -04:00
..
src/main ARTEMIS-785 - update examples to new addressing model 2016-12-15 13:36:23 +00:00
pom.xml ARTEMIS-1129: Client Dependencies 2017-05-17 18:02:33 -04:00
readme.html renaming broker-features -> features on examples 2015-08-13 00:11:56 -04:00

readme.html

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->

<html>
  <head>
    <title>ActiveMQ Artemis JMS Durable Subscription Example</title>
    <link rel="stylesheet" type="text/css" href="../../../common/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../common/prettify.css" />
    <script type="text/javascript" src="../../../common/prettify.js"></script>
  </head>
  <body onload="prettyPrint()">
     <h1>JMS Durable Subscription Example</h1>

     <pre>To run the example, simply type <b>mvn verify</b> from this directory, <br>or <b>mvn -PnoServer verify</b> if you want to start and create the server manually.</pre>
     <p>This example demonstrates how to use a durable subscription with ActiveMQ Artemis.</p>
     <p>Durable subscriptions are a standard part of JMS, please consult the JMS 1.1 specification for full details.</p>
     <p>Unlike non durable subscriptions, the key function of durable subscriptions is that the messages contained in them
         persist longer than the lifetime of the subscriber - i.e. they will accumulate messages sent to the topic even
         if the subscriber is not currently connected. They will also survive server restarts. Note that for the messages to
         be persisted, the messages sent to them must be marked as persistent messages.</p>

  </body>
</html>