1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
23 <meta content=
"text/html; charset=ISO-8859-1"
24 http-equiv=
"content-type">
25 <title>Apache ActiveMQ Artemis README
</title>
26 <link rel=
"stylesheet" type=
"text/css" href=
"./examples/common/common.css" />
27 <link rel=
"stylesheet" type=
"text/css" href=
"./examples/common/prettify.css" />
28 <script type=
"text/javascript" src=
"./examples/common/prettify.js"></script>
32 <h1>Getting Started
</h1>
34 <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>
36 <h2>Creating a broker
</h2>
38 To create a broker, navigate to the distribution 'bin/' directory and run:
<br><br>
40 $ ./artemis create $directory
<br><br>Where $directory is the folder that you'd like the broker to be created.
42 The create process will input for any required property not specified. Example:
45 --user: is a mandatory property!
46 Please provide the default username:
49 --password: is mandatory with this configuration:
50 Please provide the default password:
53 --allow-anonymous | --require-login: is a mandatory property!
54 Allow anonymous access?, valid values are Y,N,True,False
58 For a full list of available options for the create process you may use:
60 $ ./artemis help create
63 artemis create - creates a new broker instance
66 artemis create [--addresses
<addresses
>] [--aio] [--allow-anonymous]
67 [--autocreate] [--blocking] [--cluster-password
<clusterPassword
>]
68 [--cluster-user
<clusterUser
>] [--clustered] [--data
<data
>]
69 [--default-port
<defaultPort
>] [--disable-persistence]
70 [--encoding
<encoding
>] [--failover-on-shutdown] [--force]
71 [--global-max-size
<globalMaxSize
>] [--home
<home
>] [--host
<host
>]
72 [--http-host
<httpHost
>] [--http-port
<httpPort
>]
73 [--java-options
<javaOptions
>] [--mapped] [--max-hops
<maxHops
>]
74 [--message-load-balancing
<messageLoadBalancing
>] [--name
<name
>]
75 [--nio] [--no-amqp-acceptor] [--no-autocreate] [--no-autotune]
76 [--no-fsync] [--no-hornetq-acceptor] [--no-mqtt-acceptor]
77 [--no-stomp-acceptor] [--no-web] [--paging] [--password
<password
>]
78 [--ping
<ping
>] [--port-offset
<portOffset
>] [--queues
<queues
>]
79 [--replicated] [--require-login] [--role
<role
>] [--shared-store]
80 [--silent] [--slave] [--ssl-key
<sslKey
>]
81 [--ssl-key-password
<sslKeyPassword
>] [--ssl-trust
<sslTrust
>]
82 [--ssl-trust-password
<sslTrustPassword
>] [--use-client-auth]
83 [--user
<user
>] [--verbose] [--]
<directory
>
88 <h2>Starting the Broker
</h2>
90 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.
92 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>
94 $ ./artemis run
<br><br>
96 To specify a broker configuration file:
<br><br>
98 $ ./artemis run --config scheme:location
<br><br>
102 $ ./artemis run --config xml:/home/artemis/bootstrap.xml
<br><br>
104 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.
106 <h2>Stopping the Broker
</h2>
108 To stop the broker please use the artemis script from the broker's bin directory:
<br><br>
110 $ ./artemis stop
<br><br>
112 <h2>Documentation
</h2>
114 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
<a href=
"http://localhost:8161">Apache ActiveMQ Artemis
</a>. Alternatively, you can browse all of the documentation online on the
<a href=
"http://activemq.apache.org/artemis/">Apache ActiveMQ Artemis Website
</a>.
<br><br>
116 The examples are shipped inside the distribution folder under
"examples"<br><br>
118 Release Notes for all version can be found
<a href=
"https://issues.apache.org/jira/browse/ARTEMIS/?selectedTab=com.atlassian.jira.jira-projects-plugin:versions-panel">here
</a>