Appendix B. Address Setting Configuration Elements
The table below lists all of the configuration elements of an address-setting
. Note that some elements are marked DEPRECATED. Use the suggested replacement to avoid potential issues.
Name | Description |
---|---|
address-full-policy |
Determines what happens when an address configured with a
Note The BLOCK policy works only for the AMQP, OpenWire, and Core Protocol protocols because they feature flow control. |
auto-create-addresses |
Whether to automatically create addresses when a client sends a message to or attempts to consume a message from a queue mapped to an address that does not exist a queue. The default value is |
auto-create-dead-letter-resources |
Specifies whether the broker automatically creates a dead letter address and queue to receive undelivered messages. The default value is
If the parameter is set to |
auto-create-jms-queues |
DEPRECATED: Use |
auto-create-jms-topics |
DEPRECATED: Use |
auto-create-queues |
Whether to automatically create a queue when a client sends a message to or attempts to consume a message from a queue. The default value is |
auto-delete-addresses |
Whether to delete auto-created addresses when the broker no longer has any queues. The default value is |
auto-delete-jms-queues |
DEPRECATED: Use |
auto-delete-jms-topics |
DEPRECATED: Use |
auto-delete-queues |
Whether to delete auto-created queues when the queue has no consumers and no messages. The default value is |
config-delete-addresses | When the configuration file is reloaded, this setting specifies how to handle an address (and its queues) that has been deleted from the configuration file. You can specify the following values:
|
config-delete-queues | When the configuration file is reloaded, this setting specifies how to handle queues that have been deleted from the configuration file. You can specify the following values:
|
dead-letter-address | The address to which the broker sends dead messages. |
dead-letter-queue-prefix |
Prefix that the broker applies to the name of an automatically-created dead letter queue. The default value is |
dead-letter-queue-suffix | Suffix that the broker applies to an automatically-created dead letter queue. The default value is not defined (that is, the broker applies no suffix). |
default-address-routing-type |
The routing-type used on auto-created addresses. The default value is |
default-max-consumers |
The maximum number of consumers allowed on this queue at any one time. The default value is |
default-purge-on-no-consumers |
Whether to purge the contents of the queue once there are no consumers. The default value is |
default-queue-routing-type |
The routing-type used on auto-created queues. The default value is |
enable-metrics |
Specifies whether a configured metrics plugin such as the Prometheus plugin collects metrics for a matching address or set of addresses. The default value is |
expiry-address | The address that will receive expired messages. |
expiry-delay |
Defines the expiration time in milliseconds that will be used for messages using the default expiration time. The default value is |
last-value-queue |
Whether a queue uses only last values or not. The default value is |
management-browse-page-size |
How many messages a management resource can browse. The default value is |
max-delivery-attempts |
how many times to attempt to deliver a message before sending to dead letter address. The default is |
max-redelivery-delay | Maximum value for the redelivery-delay, in milliseconds. |
max-size-bytes |
The maximum memory size for this address, specified in bytes. Used when the |
max-size-bytes-reject-threshold |
Used when the |
message-counter-history-day-limit |
How many days to keep a message counter history for this address. The default value is |
page-size-bytes |
The paging size in bytes. Also supports byte notation like |
redelivery-delay |
The time, in milliseconds, to wait before redelivering a cancelled message. The default value is |
redelivery-delay-multiplier |
Multiplier to apply to the redelivery-delay parameter. The default value is |
redistribution-delay |
Defines how long to wait in milliseconds after the last consumer is closed on a queue before redistributing any messages. The default value is |
send-to-dla-on-no-route |
When set to |
slow-consumer-check-period |
How often to check, in seconds, for slow consumers. The default value is |
slow-consumer-policy |
Determines what happens when a slow consumer is identified. Valid options are |
slow-consumer-threshold |
The minimum rate of message consumption allowed before a consumer is considered slow. Measured in messages-per-second. The default value is |