You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ra...@apache.org on 2010/04/16 19:01:50 UTC

svn commit: r934997 - in /qpid/trunk/qpid/java: client/src/main/java/org/apache/qpid/client/AMQDestination.java module.xml test-profiles/default.testprofile

Author: rajith
Date: Fri Apr 16 17:01:50 2010
New Revision: 934997

URL: http://svn.apache.org/viewvc?rev=934997&view=rev
Log:
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.

Modified:
    qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java
    qpid/trunk/qpid/java/module.xml
    qpid/trunk/qpid/java/test-profiles/default.testprofile

Modified: qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java?rev=934997&r1=934996&r2=934997&view=diff
==============================================================================
--- qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java (original)
+++ qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java Fri Apr 16 17:01:50 2010
@@ -146,7 +146,7 @@ public abstract class AMQDestination imp
     {
         defaultDestSyntax = DestSyntax.getSyntaxType(
                      System.getProperty(ClientProperties.DEST_SYNTAX,
-                                        DestSyntax.BURL.toString()));
+                                        DestSyntax.ADDR.toString()));
     }
     
     protected AMQDestination(Address address) throws Exception

Modified: qpid/trunk/qpid/java/module.xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/module.xml?rev=934997&r1=934996&r2=934997&view=diff
==============================================================================
--- qpid/trunk/qpid/java/module.xml (original)
+++ qpid/trunk/qpid/java/module.xml Fri Apr 16 17:01:50 2010
@@ -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}"/>

Modified: qpid/trunk/qpid/java/test-profiles/default.testprofile
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/test-profiles/default.testprofile?rev=934997&r1=934996&r2=934997&view=diff
==============================================================================
--- qpid/trunk/qpid/java/test-profiles/default.testprofile (original)
+++ qpid/trunk/qpid/java/test-profiles/default.testprofile Fri Apr 16 17:01:50 2010
@@ -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}



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org