public enum RabbitMqEnvVar extends Enum<RabbitMqEnvVar>
| Enum Constant and Description |
|---|
CONF_ENV_FILE
Location of the file that contains environment variable definitions (without the
RABBITMQ_ prefix). |
CONFIG_FILE
Defines the location of the RabbitMQ core configuration file.
|
CONSOLE_LOG
Set this variable to new or reuse to redirect console output from the server to a file named
|
CTL_ERL_ARGS
Parameters for the erl command used when invoking rabbitmqctl.
|
DIST_PORT
Port to use for clustering.
|
NODE_IP_ADDRESS
Use this if you only want to bind to one network interface.
|
NODE_PORT
The port to bind this RabbitMQ broker node.
|
NODENAME
The node name should be unique per erlang-node-and-machine combination.
|
SERVER_ADDITIONAL_ERL_ARGS
Additional parameters for the erl command used when invoking the RabbitMQ Server.
|
SERVER_ERL_ARGS
Standard parameters for the erl command used when invoking the RabbitMQ Server.
|
SERVER_START_ARGS
Extra parameters for the erl command used when invoking the RabbitMQ Server.
|
SERVICENAME
The name of the installed service.
|
USE_LONGNAME
When set to
true this will cause RabbitMQ to use fully qualified names to identify nodes. |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_NODE_PORT |
| Modifier and Type | Method and Description |
|---|---|
String |
getEnvVarName() |
static RabbitMqEnvVar |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RabbitMqEnvVar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RabbitMqEnvVar NODE_IP_ADDRESS
tcp_listeners key in rabbitmq.config.
Default value: empty string - meaning bind to all network interfaces
public static final RabbitMqEnvVar NODE_PORT
Default value: 5672
public static final RabbitMqEnvVar DIST_PORT
inet_dist_listen_min or
inet_dist_listen_maxpublic static final RabbitMqEnvVar NODENAME
To run multiple nodes, see the clustering guide.
Default:
rabbit@$HOSTNAMErabbit@%COMPUTERNAME%public static final RabbitMqEnvVar CONF_ENV_FILE
RABBITMQ_ prefix).
Note that the file name on Windows is different from other operating systems.
Defaults:
Generic UNIX - $RABBITMQ_HOME/etc/rabbitmq/rabbitmq-env.conf
Debian - /etc/rabbitmq/rabbitmq-env.conf
RPM - /etc/rabbitmq/rabbitmq-env.conf
Mac OS X (Homebrew) - $\{install_prefix\}/etc/rabbitmq/rabbitmq-env.conf,
the Homebrew prefix is usually /usr/local
Windows - %APPDATA%\RabbitMQ\rabbitmq-env-conf.bat
public static final RabbitMqEnvVar USE_LONGNAME
true this will cause RabbitMQ to use fully qualified names to identify nodes.
This may prove useful on EC2. Note that it is not possible to switch between using short and long names without resetting the node.
public static final RabbitMqEnvVar SERVICENAME
Default for Windows: RabbitMQ
public static final RabbitMqEnvVar CONSOLE_LOG
public static final RabbitMqEnvVar CTL_ERL_ARGS
This should be overridden for debugging purposes only.
Default: None
public static final RabbitMqEnvVar SERVER_ERL_ARGS
This should be overridden for debugging purposes only. Overriding this variable replaces the default value.
Defaults:
Unix*: "+K true +A30 +P 1048576 -kernel inet_default_connect_options [{nodelay,true}]"
Windows: None
public static final RabbitMqEnvVar SERVER_ADDITIONAL_ERL_ARGS
The value of this variable is appended the default list of arguments (RABBITMQ_SERVER_ERL_ARGS).
Defaults:
- Unix*: None
- Windows: None
public static final RabbitMqEnvVar SERVER_START_ARGS
This will not override RABBITMQ_SERVER_ERL_ARGS.
Default: None
public static final RabbitMqEnvVar CONFIG_FILE
The value should not contain the suffix .config since Erlang will append it automatically.
public static final int DEFAULT_NODE_PORT
public static RabbitMqEnvVar[] values()
for (RabbitMqEnvVar c : RabbitMqEnvVar.values()) System.out.println(c);
public static RabbitMqEnvVar valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getEnvVarName()
RABBITMQ_).Copyright © 2016–2017. All rights reserved.