From 3ba71456ec65fe69e351ec6ced57b69dd8f1d48e Mon Sep 17 00:00:00 2001 From: Alex Rudyy Date: Thu, 9 May 2013 15:04:59 +0000 Subject: QPID-4685: Update documentation to reflect changes to configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480672 13f79535-47bb-0310-9956-ffa450edef68 --- ...ker-Runtime-Handling-Undeliverable-Messages.xml | 67 ++-------------------- 1 file changed, 6 insertions(+), 61 deletions(-) (limited to 'qpid/doc/book/src/java-broker/Java-Broker-Runtime-Handling-Undeliverable-Messages.xml') diff --git a/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Handling-Undeliverable-Messages.xml b/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Handling-Undeliverable-Messages.xml index 40c0e44629..29c42267e4 100644 --- a/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Handling-Undeliverable-Messages.xml +++ b/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Handling-Undeliverable-Messages.xml @@ -102,67 +102,12 @@
Configuration - In the below configuration it can be seen that DLQs/Maximum Delivery Count are enabled at - the broker level with maximum delivery count set to 5, disabled at the virtualhost level for the - 'dev-only' virtualhost, and enabled specifically for the 'dev-only-main-queue' with maximum - delivery count overridden to 5. - As 'dev-only-main-queue' has its own configuration specified, this value overrides all - others and causes the features to be enabled for this queue. In contrast to this, - 'dev-only-other-queue' does not specify its own value and picks up the false value specified for - its parent virtualhost, causing the DLQ/Maximum Delivery Count features to be disabled for this - queue. Any such queue in the 'dev-only' virtualhost which does not specify its own configuration - value will have the DLQ/Maximum Delivery Count feature disabled. - The queue 'localhost-queue' has the DLQ/Maximum Delivery Count features enabled, as neither - the queue itself or the 'localhost' virtualhost specifies a configuration value and so the broker - level value of true is used. Any such queue in the 'localhost' virtualhost which does not specify - its own configuration value will have the features enabled. - - Enabling DLQs and maximum delivery count at broker level within config.xml - - ... - true - 5 - ... -]]> - - - Enabling DLQs and maximum delivery count at virtualhost and queue level within - virtualhosts.xml - - ... - - dev-only - - - false - 0 - - dev-only-main-queue - - true - 3 - - - - dev-only-other-queue - - - - - - localhost - - - - localhost-queue - - - - - ... -]]> - - + DLQs/Maximum Delivery can be configured globally for all Virtual Hosts by + specifying non-zero value for global Broker attribute + "queue.maximumDeliveryAttempts" and setting of Broker attribute "queue.deadLetterQueueEnabled" to true. + + An examples of configuring DLQs/Maximum Delivery Count using Virtual Hosts configuration file + are described in .
-- cgit v1.2.1