qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject svn commit: r911249 - /qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
Date Thu, 18 Feb 2010 04:11:08 GMT
Author: rajith
Date: Thu Feb 18 04:11:08 2010
New Revision: 911249

URL: http://svn.apache.org/viewvc?rev=911249&view=rev
Log:
added a null check for the exchange class - related to QPID-1831

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

Modified: qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java?rev=911249&r1=911248&r2=911249&view=diff
==============================================================================
--- qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
(original)
+++ qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
Thu Feb 18 04:11:08 2010
@@ -1024,7 +1024,8 @@
         
         if (match && assertNode)
         {
-            match =  (result.getDurable() == dest.isDurable()) &&
+            match =  (result.getDurable() == dest.isDurable()) && 
+                     (dest.getExchangeClass() != null) &&
                      (dest.getExchangeClass().asString().equals(result.getType())) &&
                      (matchProps(result.getArguments(),dest.getQueueOptions()));
         }



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


Mime
View raw message