summaryrefslogtreecommitdiff
path: root/java/common/src/main
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2012-08-26 21:25:08 +0000
committerRobert Gemmell <robbie@apache.org>2012-08-26 21:25:08 +0000
commitf6c2a36ce23337aa7243b7638b4375c6318d8a0e (patch)
tree7495e0508f5bb6aae75c266f1d072cb8fb88e2d5 /java/common/src/main
parent0ea4064eca17ee242f600970be9b32f5194c4ec3 (diff)
downloadqpid-python-f6c2a36ce23337aa7243b7638b4375c6318d8a0e.tar.gz
QPID-4250: ensure producer creation on 0-8/0-9/0-9-1 connections respects the qpid.declare_exchanges system property. Add systest to highlight the issue and verify the fix. Add constants for the system properties.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1377521 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common/src/main')
-rw-r--r--java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java b/java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java
index 5268ce9bc2..20e523ca97 100644
--- a/java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java
+++ b/java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java
@@ -190,6 +190,18 @@ public class ClientProperties
*/
public static final long DEFAULT_FLOW_CONTROL_WAIT_NOTIFY_PERIOD = 5000L;
+ /**
+ * System property to control whether the client will declare queues during
+ * consumer creation when using BindingURLs.
+ */
+ public static final String QPID_DECLARE_QUEUES_PROP_NAME = "qpid.declare_queues";
+
+ /**
+ * System property to control whether the client will declare exchanges during
+ * producer/consumer creation when using BindingURLs.
+ */
+ public static final String QPID_DECLARE_EXCHANGES_PROP_NAME = "qpid.declare_exchanges";
+
private ClientProperties()
{