diff options
| author | Robert Gemmell <robbie@apache.org> | 2012-08-26 21:25:08 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2012-08-26 21:25:08 +0000 |
| commit | 5d6ee9475d6b88fb2b89290b5f062cddb536c3e5 (patch) | |
| tree | 7b1738ffe36c2a1d0e72b6cf3986e9dc6ed0b29f /qpid/java/common | |
| parent | d91eb0718b8436887efc6571e75b00074cef4366 (diff) | |
| download | qpid-python-5d6ee9475d6b88fb2b89290b5f062cddb536c3e5.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@1377521 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common')
| -rw-r--r-- | qpid/java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java b/qpid/java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java index 5268ce9bc2..20e523ca97 100644 --- a/qpid/java/common/src/main/java/org/apache/qpid/configuration/ClientProperties.java +++ b/qpid/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() { |
