summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-09-22 17:39:13 +0000
committerGordon Sim <gsim@apache.org>2008-09-22 17:39:13 +0000
commitf31ce3a04e59da295f397379025809c16ee1258d (patch)
tree179e754fe485a6f611f100f27d66182ae9a2b09d /cpp/src
parent42a9974c188cb30c14af064f244dd50807bde62e (diff)
downloadqpid-python-f31ce3a04e59da295f397379025809c16ee1258d.tar.gz
Keep same default policy as before.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/QueuePolicy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/QueuePolicy.cpp b/cpp/src/qpid/broker/QueuePolicy.cpp
index 8aeaaabd55..c8980b8b4d 100644
--- a/cpp/src/qpid/broker/QueuePolicy.cpp
+++ b/cpp/src/qpid/broker/QueuePolicy.cpp
@@ -109,7 +109,7 @@ std::string QueuePolicy::getType(const FieldTable& settings)
transform(t.begin(), t.end(), t.begin(), tolower);
if (t == REJECT || t == FLOW_TO_DISK || t == RING || t == RING_STRICT) return t;
}
- return REJECT;
+ return FLOW_TO_DISK;
}
void QueuePolicy::setDefaultMaxSize(uint64_t s)