summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Donald Kennedy <grkvlt@apache.org>2010-12-13 01:46:54 +0000
committerAndrew Donald Kennedy <grkvlt@apache.org>2010-12-13 01:46:54 +0000
commitf343661acba038ca3f71d562d73ab143fd77937f (patch)
treee4127533a62476dc875ef81ac8e86ec658b94172
parent61dcd36ddc850b987440b3ff415105b0cd2d79ac (diff)
downloadqpid-python-f343661acba038ca3f71d562d73ab143fd77937f.tar.gz
QPID-2970: Fix configuration file
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@1045000 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/perftests/etc/dlq/config.properties57
1 files changed, 45 insertions, 12 deletions
diff --git a/qpid/java/perftests/etc/dlq/config.properties b/qpid/java/perftests/etc/dlq/config.properties
index cfc15c7828..2c14f20920 100644
--- a/qpid/java/perftests/etc/dlq/config.properties
+++ b/qpid/java/perftests/etc/dlq/config.properties
@@ -17,29 +17,62 @@
# under the License.
#
+##
## qpid dead letter queue performance testing
+##
+##
## statistics properties
+##
+
+# how many runs in a statistics series
repeat = 10
+##
## shared properties
+##
+
+# remote broker url
broker = tcp://localhost:5672
-maxRedelivery = 3
-maxPrefetch = 1
-session = SESSION_TRANSACTED
-# SESSION_TRANSACTED, AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE
+# queue name
queue = test
-count = 1000
-persistent = true
-maxRecords = 5000 # must be greater than max(maxPrefetch, count) * threads
+##
+## dlq properties
+##
+
+# maximum times a message will be redelivered before dlq
+maxRedelivery = 3
+# maxRecords must be greater than max(maxPrefetch, count) * threads
+maxRecords = 5000
+
+##
## producer properties
+##
+
+# size of message payload
#size = 4096
size = 128
-messageIds = true # if false, no message ids will be generated for reject
+# set messageIds to false and no message ids will be available for reject
+messageIds = true
+# total messages to send
+count = 1000
+# are messages persistent or transient
+persistent = true
+##
## consumer properties
-threads = 5 # total number of consumer clients
-listener = false # if true, uses asynchronous message listener
-reject = 2 # reject every Nth message
-rejectCount = 3 # maximum times each client will reject a message
+##
+
+# connection maxprefetch
+maxPrefetch = 1
+# total number of consumer clients
+threads = 5
+# SESSION_TRANSACTED, AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE
+session = SESSION_TRANSACTED
+# if true, uses asynchronous message listener
+listener = false
+# reject every Nth message
+reject = 2
+# maximum times each client will reject a message
+rejectCount = 3