qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r604799 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
Date Mon, 17 Dec 2007 09:04:24 GMT
Author: arnaudsimon
Date: Mon Dec 17 01:04:23 2007
New Revision: 604799

URL: http://svn.apache.org/viewvc?rev=604799&view=rev
Log:
Qpid-708: changed setCleintID to throw the expected exception

Modified:
    incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java

Modified: incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java?rev=604799&r1=604798&r2=604799&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
Mon Dec 17 01:04:23 2007
@@ -580,7 +580,7 @@
         // in AMQP it is not possible to change the client ID. If one is not specified
         // upon connection construction, an id is generated automatically. Therefore
         // we can always throw an exception.
-        // throw new IllegalStateException("Client name cannot be changed after being set");
+        throw new IllegalStateException("Client name cannot be changed after being set");
     }
 
     public ConnectionMetaData getMetaData() throws JMSException



Mime
View raw message