activemq-artemis/artemis-distribution/src/main/resources
Clebert Suconic 5e17408c82 updating distribution/README for a small typo 2015-05-20 22:42:42 -04:00
..
bin Fixing libaio integration / creation 2015-05-19 15:18:04 -04:00
licenses/bin move distribution to root directory 2015-05-01 09:34:33 +01:00
README.html updating distribution/README for a small typo 2015-05-20 22:42:42 -04:00

README.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
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>
   <meta content="text/html; charset=ISO-8859-1"
         http-equiv="content-type">
   <title>Apache ActiveMQ Artemis README</title>
   <link rel="stylesheet" type="text/css" href="./examples/jms/common/common.css" />
   <link rel="stylesheet" type="text/css" href="./examples/jms/common/prettify.css" />
   <script type="text/javascript" src="./examples/jms/common/prettify.js"></script>
</head>
<body>

<h1>Getting Started</h1>

<b>Note (Windows users):</b> The broker currently does not support spaces in path names.  For this reason the broker should be placed in a directory with no spaces in it's absolute path.</br></br>

<b>Note (Windows users):</b> Examples below use the shell script `artemis` for use with linux, Windows users should use the `artemis.cmd` script with the same parameters.</br></br>

<h2>Creating a broker</h2>

To create a broker, navigate to the distribution 'bin/' directory and run: </br></br>

$ ./artemis create $directory </br></br>Where $directory is the folder that you'd like the broker to be created.

The create process will input for any required property not specified. Example:

<PRE>
--user: is mandatory with this configuration:
Please provide the default username:
admin

--password: is mandatory with this configuration:
Please provide the default password:


--allow-anonymous: is mandatory with this configuration:
Allow anonymous access? (Y/N):
y

</PRE>

For a full list of availble options for the create process you may use:

$ ./artemis help create
<PRE>
NAME
        artemis create - creates a new broker instance

SYNOPSIS
        artemis create [--allow-anonymous]
                [--cluster-password <clusterPassword>] [--cluster-user <clusterUser>]
    [--clustered] [--data <data>] [--encoding <encoding>] [--force]
        [--home <home>] [--host <host>] [--java-options <javaOptions>]
            [--password <password>] [--port-offset <portOffset>] [--replicated]
                [--role <role>] [--shared-store] [--silent-input] [--user <user>] [--]
                    <directory>
     ...
</PRE>


<h2>Starting the Broker</h2>

Once the broker has been created, use the artemis (or artemis.cmd on windows) script of the under the bin directory of the newly created broker to manage the life cycle of the broker.

To run the Apache ActiveMQ Artemis broker with the default configuration, run the command shown below from the "bin" directory of the created broker.</br></br>

$ ./artemis run</br></br>

To specify a broker configuration file:</br></br>

$ ./artemis run --config scheme:location</br></br>

e.g.</br></br>

$ ./artemis run --config xml:/home/artemis/bootstrap.xml</br></br>

The distribution ships with a number of example configurations that can be used to get started.  You can find these under the "config" directory.</br></br>

It is possible to configure run time paramters in the artemis.conf (artemis.conf.bat for windows) file under the "bin" directory of the broker directory.

<h2>Stopping the Broker</h2>

To stop the broker please use the artemis script from the broker's bin directory:</br></br>

$ ./artemis stop</br></br>

<h2>Documentation</h2>

The broker comes shipped with an in depth user manual and a bunch of examples to help you get started.  The manual is accessible from the broker website.  Start the broker then navigate to the <a href="http://localhost:8161">Apache ActiveMQ Artemis</a>.</br></br>

The examples are shipped inside the distribution folder under "examples"</br></br>

<h2>Release Notes - ActiveMQ Artemis 1.0.0</h2>

The ActiveMQ Artemis 1.0.0 release notes can be found in the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315920&version=12328953">Apache ActiveMQ Artemis project JIRA</a>.