summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-04-16 17:01:50 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-04-16 17:01:50 +0000
commitb6687574b06f09e4b0e4534c2d3d6fb76ad00808 (patch)
tree2a170a087b91338bcca152fccb9819abb1e3916a /qpid/java
parentec7be7afc251aaf898845fde746a53bf13bb2ca8 (diff)
downloadqpid-python-b6687574b06f09e4b0e4534c2d3d6fb76ad00808.tar.gz
QPID-2512
Changed the default destination syntax to addressing. Added qpid.dest_syntax=BURL to the test profiles to ensure all existing tests work. At some point next week the existing binding URL based entries will be prefixed with "BURL:" and the above system property will be removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934997 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java2
-rw-r--r--qpid/java/module.xml2
-rw-r--r--qpid/java/test-profiles/default.testprofile1
3 files changed, 4 insertions, 1 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java
index 2d7844944a..593613f962 100644
--- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java
+++ b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java
@@ -146,7 +146,7 @@ public abstract class AMQDestination implements Destination, Referenceable
{
defaultDestSyntax = DestSyntax.getSyntaxType(
System.getProperty(ClientProperties.DEST_SYNTAX,
- DestSyntax.BURL.toString()));
+ DestSyntax.ADDR.toString()));
}
protected AMQDestination(Address address) throws Exception
diff --git a/qpid/java/module.xml b/qpid/java/module.xml
index 290b88b014..27aae0fb9a 100644
--- a/qpid/java/module.xml
+++ b/qpid/java/module.xml
@@ -295,6 +295,8 @@
</syspropertyset>
<sysproperty key="max_prefetch" value ="${max_prefetch}"/>
+ <sysproperty key="qpid.dest_syntax" value ="${qpid.dest_syntax}"/>
+
<sysproperty key="example.plugin.target" value="${project.root}/build/lib/plugins"/>
<sysproperty key="QPID_EXAMPLE_HOME" value="${qpid.home}"/>
<sysproperty key="QPID_HOME" value="${qpid.home}"/>
diff --git a/qpid/java/test-profiles/default.testprofile b/qpid/java/test-profiles/default.testprofile
index 91727304ae..dfc92f1e19 100644
--- a/qpid/java/test-profiles/default.testprofile
+++ b/qpid/java/test-profiles/default.testprofile
@@ -8,6 +8,7 @@ broker.ready=Listening on TCP port
broker.config=${project.root}/build/etc/config-systests.xml
max_prefetch=1000
+qpid.dest_syntax=BURL
log=debug
amqj.logging.level=${log}