# Getting Started

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

## Creating a broker

To create a broker, navigate to the distribution 'bin/' directory and run:
$ ./artemis create $directory
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:

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

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

    --role: is mandatory with this configuration:
    Please provide the default role:
    admin

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

For a full list of available options for the create process you may use: $ ./artemis help create

    NAME
            artemis create - creates a new broker instance

    SYNOPSIS
            artemis create [--aio] [--allow-anonymous]
                    [--cluster-password <clusterPassword>] [--cluster-user <clusterUser>]
                    [--clustered] [--data <data>] [--disable-persistence]
                    [--encoding <encoding>] [--failover-on-shutdown] [--force]
                    [--home <home>] [--host <host>] [--java-options <javaOptions>]
                    [--max-hops <maxHops>] [--message-load-balancing <messageLoadBalancing>]
                    [--name <name>] [--nio] [--no-autotune] [--no-web]
                    [--password <password>] [--port-offset <portOffset>] [--queues <queues>]
                    [--replicated] [--require-login] [--role <role>] [--shared-store]
                    [--silent] [--slave] [--topics <topics>] [--user <user>] [--verbose]
                    [--] <directory>
         ...

## Starting the Broker

Once the broker has been created, use the artemis (or artemis.cmd on windows) script found 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.
$ ./artemis run
To specify a broker configuration file:
$ ./artemis run --config scheme:location
e.g.
$ ./artemis run --config xml:/home/artemis/bootstrap.xml
It is possible to configure run time parameters in the artemis.conf (artemis.conf.bat for windows) file under the "bin" directory of the broker directory.

## Stopping the Broker

To stop the broker please use the artemis script from the broker's bin directory:
$ ./artemis stop

## Documentation

The broker comes shipped with an in depth user manual and a bunch of examples to help you get started. The manual is shipped with the broker and can be accessed from the brokers website. Start the broker then navigate to the Apache ActiveMQ Artemis. Alternatively, you can browse all of the documentation online on the Apache ActiveMQ Artemis Website.
The examples are shipped inside the distribution folder under "examples"
Release Notes for all version can be found here