NO-JIRA update `artemis create` samples in README.html and using-server.md
This commit is contained in:
parent
9401bf805c
commit
abf0aa8f0c
|
@ -215,19 +215,19 @@ public class Create extends InputAbstract {
|
||||||
@Option(name = "--role", description = "The name for the role created (Default: amq)")
|
@Option(name = "--role", description = "The name for the role created (Default: amq)")
|
||||||
String role = "amq";
|
String role = "amq";
|
||||||
|
|
||||||
@Option(name = "--no-web", description = "remove the web-server definition from bootstrap.xml")
|
@Option(name = "--no-web", description = "Remove the web-server definition from bootstrap.xml")
|
||||||
boolean noWeb;
|
boolean noWeb;
|
||||||
|
|
||||||
@Option(name = "--queues", description = "comma separated list of queues.")
|
@Option(name = "--queues", description = "Comma separated list of queues.")
|
||||||
String queues;
|
String queues;
|
||||||
|
|
||||||
@Option(name = "--addresses", description = "comma separated list of addresses ")
|
@Option(name = "--addresses", description = "Comma separated list of addresses ")
|
||||||
String addresses;
|
String addresses;
|
||||||
|
|
||||||
@Option(name = "--aio", description = "sets the journal as asyncio.")
|
@Option(name = "--aio", description = "Sets the journal as asyncio.")
|
||||||
boolean aio;
|
boolean aio;
|
||||||
|
|
||||||
@Option(name = "--nio", description = "sets the journal as nio.")
|
@Option(name = "--nio", description = "Sets the journal as nio.")
|
||||||
boolean nio;
|
boolean nio;
|
||||||
|
|
||||||
@Option(name = "--mapped", description = "Sets the journal as mapped.")
|
@Option(name = "--mapped", description = "Sets the journal as mapped.")
|
||||||
|
|
|
@ -42,20 +42,17 @@ $ ./artemis create $directory <br><br>Where $directory is the folder that you'd
|
||||||
The create process will input for any required property not specified. Example:
|
The create process will input for any required property not specified. Example:
|
||||||
|
|
||||||
<PRE>
|
<PRE>
|
||||||
--user: is mandatory with this configuration:
|
--user: is a mandatory property!
|
||||||
Please provide the default username:
|
Please provide the default username:
|
||||||
admin
|
admin
|
||||||
|
|
||||||
--password: is mandatory with this configuration:
|
--password: is mandatory with this configuration:
|
||||||
Please provide the default password:
|
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 | --require-login: is a mandatory property!
|
||||||
Allow anonymous access? (Y/N):
|
Allow anonymous access?, valid values are Y,N,True,False
|
||||||
Y
|
y
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
For a full list of available options for the create process you may use:
|
For a full list of available options for the create process you may use:
|
||||||
|
@ -66,17 +63,24 @@ NAME
|
||||||
artemis create - creates a new broker instance
|
artemis create - creates a new broker instance
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
artemis create [--aio] [--allow-anonymous]
|
artemis create [--addresses <addresses>] [--aio] [--allow-anonymous]
|
||||||
[--cluster-password <clusterPassword>] [--cluster-user <clusterUser>]
|
[--autocreate] [--blocking] [--cluster-password <clusterPassword>]
|
||||||
[--clustered] [--data <data>] [--disable-persistence]
|
[--cluster-user <clusterUser>] [--clustered] [--data <data>]
|
||||||
|
[--default-port <defaultPort>] [--disable-persistence]
|
||||||
[--encoding <encoding>] [--failover-on-shutdown] [--force]
|
[--encoding <encoding>] [--failover-on-shutdown] [--force]
|
||||||
[--home <home>] [--host <host>] [--java-options <javaOptions>]
|
[--global-max-size <globalMaxSize>] [--home <home>] [--host <host>]
|
||||||
[--max-hops <maxHops>] [--message-load-balancing <messageLoadBalancing>]
|
[--http-host <httpHost>] [--http-port <httpPort>]
|
||||||
[--name <name>] [--nio] [--no-autotune] [--no-web]
|
[--java-options <javaOptions>] [--mapped] [--max-hops <maxHops>]
|
||||||
[--password <password>] [--port-offset <portOffset>] [--queues <queues>]
|
[--message-load-balancing <messageLoadBalancing>] [--name <name>]
|
||||||
|
[--nio] [--no-amqp-acceptor] [--no-autocreate] [--no-autotune]
|
||||||
|
[--no-fsync] [--no-hornetq-acceptor] [--no-mqtt-acceptor]
|
||||||
|
[--no-stomp-acceptor] [--no-web] [--paging] [--password <password>]
|
||||||
|
[--ping <ping>] [--port-offset <portOffset>] [--queues <queues>]
|
||||||
[--replicated] [--require-login] [--role <role>] [--shared-store]
|
[--replicated] [--require-login] [--role <role>] [--shared-store]
|
||||||
[--silent] [--slave] [--topics <topics>] [--user <user>] [--verbose]
|
[--silent] [--slave] [--ssl-key <sslKey>]
|
||||||
[--] <directory>
|
[--ssl-key-password <sslKeyPassword>] [--ssl-trust <sslTrust>]
|
||||||
|
[--ssl-trust-password <sslTrustPassword>] [--use-client-auth]
|
||||||
|
[--user <user>] [--verbose] [--] <directory>
|
||||||
...
|
...
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
|
|
|
@ -89,28 +89,30 @@ For a full list of updated properties always use:
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
artemis create [--addresses <addresses>] [--aio] [--allow-anonymous]
|
artemis create [--addresses <addresses>] [--aio] [--allow-anonymous]
|
||||||
[--autocreate] [--cluster-password <clusterPassword>]
|
[--autocreate] [--blocking] [--cluster-password <clusterPassword>]
|
||||||
[--cluster-user <clusterUser>] [--clustered] [--data <data>]
|
[--cluster-user <clusterUser>] [--clustered] [--data <data>]
|
||||||
[--default-port <defaultPort>] [--disable-persistence]
|
[--default-port <defaultPort>] [--disable-persistence]
|
||||||
[--encoding <encoding>] [--failover-on-shutdown] [--force]
|
[--encoding <encoding>] [--failover-on-shutdown] [--force]
|
||||||
[--home <home>] [--host <host>] [--http-port <httpPort>]
|
[--global-max-size <globalMaxSize>] [--home <home>] [--host <host>]
|
||||||
|
[--http-host <httpHost>] [--http-port <httpPort>]
|
||||||
[--java-options <javaOptions>] [--mapped] [--max-hops <maxHops>]
|
[--java-options <javaOptions>] [--mapped] [--max-hops <maxHops>]
|
||||||
[--message-load-balancing <messageLoadBalancing>] [--name <name>]
|
[--message-load-balancing <messageLoadBalancing>] [--name <name>]
|
||||||
[--nio] [--no-amqp-acceptor] [--no-autocreate] [--no-autotune]
|
[--nio] [--no-amqp-acceptor] [--no-autocreate] [--no-autotune]
|
||||||
[--no-fsync] [--no-hornetq-acceptor] [--no-mqtt-acceptor]
|
[--no-fsync] [--no-hornetq-acceptor] [--no-mqtt-acceptor]
|
||||||
[--no-stomp-acceptor] [--no-web] [--password <password>] [--ping <ping>]
|
[--no-stomp-acceptor] [--no-web] [--paging] [--password <password>]
|
||||||
[--port-offset <portOffset>] [--queues <queues>] [--replicated]
|
[--ping <ping>] [--port-offset <portOffset>] [--queues <queues>]
|
||||||
[--require-login] [--role <role>] [--shared-store] [--silent] [--slave]
|
[--replicated] [--require-login] [--role <role>] [--shared-store]
|
||||||
[--ssl-key <sslKey>] [--ssl-key-password <sslKeyPassword>]
|
[--silent] [--slave] [--ssl-key <sslKey>]
|
||||||
[--ssl-trust <sslTrust>] [--ssl-trust-password <sslTrustPassword>]
|
[--ssl-key-password <sslKeyPassword>] [--ssl-trust <sslTrust>]
|
||||||
[--use-client-auth] [--user <user>] [--verbose] [--] <directory>
|
[--ssl-trust-password <sslTrustPassword>] [--use-client-auth]
|
||||||
|
[--user <user>] [--verbose] [--] <directory>
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
--addresses <addresses>
|
--addresses <addresses>
|
||||||
comma separated list of addresses
|
Comma separated list of addresses
|
||||||
|
|
||||||
--aio
|
--aio
|
||||||
sets the journal as asyncio.
|
Sets the journal as asyncio.
|
||||||
|
|
||||||
--allow-anonymous
|
--allow-anonymous
|
||||||
Enables anonymous configuration on security, opposite of
|
Enables anonymous configuration on security, opposite of
|
||||||
|
@ -119,6 +121,10 @@ For a full list of updated properties always use:
|
||||||
--autocreate
|
--autocreate
|
||||||
Auto create addresses. (default: true)
|
Auto create addresses. (default: true)
|
||||||
|
|
||||||
|
--blocking
|
||||||
|
Block producers when address becomes full, opposite of --paging
|
||||||
|
(Default: false)
|
||||||
|
|
||||||
--cluster-password <clusterPassword>
|
--cluster-password <clusterPassword>
|
||||||
The cluster password to use for clustering. (Default: input)
|
The cluster password to use for clustering. (Default: input)
|
||||||
|
|
||||||
|
@ -149,12 +155,19 @@ For a full list of updated properties always use:
|
||||||
--force
|
--force
|
||||||
Overwrite configuration at destination directory
|
Overwrite configuration at destination directory
|
||||||
|
|
||||||
|
--global-max-size <globalMaxSize>
|
||||||
|
Maximum amount of memory which message data may consume (Default:
|
||||||
|
Undefined, half of the system's memory)
|
||||||
|
|
||||||
--home <home>
|
--home <home>
|
||||||
Directory where ActiveMQ Artemis is installed
|
Directory where ActiveMQ Artemis is installed
|
||||||
|
|
||||||
--host <host>
|
--host <host>
|
||||||
The host name of the broker (Default: 0.0.0.0 or input if clustered)
|
The host name of the broker (Default: 0.0.0.0 or input if clustered)
|
||||||
|
|
||||||
|
--http-host <httpHost>
|
||||||
|
The host name to use for embedded web server (Default: localhost)
|
||||||
|
|
||||||
--http-port <httpPort>
|
--http-port <httpPort>
|
||||||
The port number to use for embedded web server (Default: 8161)
|
The port number to use for embedded web server (Default: 8161)
|
||||||
|
|
||||||
|
@ -175,7 +188,7 @@ For a full list of updated properties always use:
|
||||||
The name of the broker (Default: same as host)
|
The name of the broker (Default: same as host)
|
||||||
|
|
||||||
--nio
|
--nio
|
||||||
sets the journal as nio.
|
Sets the journal as nio.
|
||||||
|
|
||||||
--no-amqp-acceptor
|
--no-amqp-acceptor
|
||||||
Disable the AMQP specific acceptor.
|
Disable the AMQP specific acceptor.
|
||||||
|
@ -200,7 +213,11 @@ For a full list of updated properties always use:
|
||||||
Disable the STOMP specific acceptor.
|
Disable the STOMP specific acceptor.
|
||||||
|
|
||||||
--no-web
|
--no-web
|
||||||
This will remove the web server definition from bootstrap.xml
|
Remove the web-server definition from bootstrap.xml
|
||||||
|
|
||||||
|
--paging
|
||||||
|
Page messages to disk when address becomes full, opposite of
|
||||||
|
--blocking (Default: true)
|
||||||
|
|
||||||
--password <password>
|
--password <password>
|
||||||
The user's password (Default: input)
|
The user's password (Default: input)
|
||||||
|
@ -214,7 +231,7 @@ For a full list of updated properties always use:
|
||||||
Off sets the ports of every acceptor
|
Off sets the ports of every acceptor
|
||||||
|
|
||||||
--queues <queues>
|
--queues <queues>
|
||||||
comma separated list of queues.
|
Comma separated list of queues.
|
||||||
|
|
||||||
--replicated
|
--replicated
|
||||||
Enable broker replication
|
Enable broker replication
|
||||||
|
@ -224,7 +241,7 @@ For a full list of updated properties always use:
|
||||||
--allow-anonymous
|
--allow-anonymous
|
||||||
|
|
||||||
--role <role>
|
--role <role>
|
||||||
The name for the role created (Default: input)
|
The name for the role created (Default: amq)
|
||||||
|
|
||||||
--shared-store
|
--shared-store
|
||||||
Enable broker shared store
|
Enable broker shared store
|
||||||
|
@ -274,7 +291,7 @@ Some of these properties may be mandatory in certain configurations and the syst
|
||||||
./artemis create /usr/server
|
./artemis create /usr/server
|
||||||
Creating ActiveMQ Artemis instance at: /user/server
|
Creating ActiveMQ Artemis instance at: /user/server
|
||||||
|
|
||||||
--user: is mandatory with this configuration:
|
--user: is a mandatory property!
|
||||||
Please provide the default username:
|
Please provide the default username:
|
||||||
admin
|
admin
|
||||||
|
|
||||||
|
@ -282,10 +299,13 @@ Some of these properties may be mandatory in certain configurations and the syst
|
||||||
Please provide the default password:
|
Please provide the default password:
|
||||||
|
|
||||||
|
|
||||||
--allow-anonymous: is mandatory with this configuration:
|
--allow-anonymous | --require-login: is a mandatory property!
|
||||||
Allow anonymous access? (Y/N):
|
Allow anonymous access?, valid values are Y,N,True,False
|
||||||
y
|
y
|
||||||
|
|
||||||
|
Auto tuning journal ...
|
||||||
|
done! Your system can make 0.34 writes per millisecond, your journal-buffer-timeout will be 2956000
|
||||||
|
|
||||||
You can now start the broker by executing:
|
You can now start the broker by executing:
|
||||||
|
|
||||||
"/user/server/bin/artemis" run
|
"/user/server/bin/artemis" run
|
||||||
|
|
Loading…
Reference in New Issue