You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2007/02/16 15:23:24 UTC

svn commit: r508416 - /incubator/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/QueueBindHandler.java

Author: ritchiem
Date: Fri Feb 16 06:23:23 2007
New Revision: 508416

URL: http://svn.apache.org/viewvc?view=rev&rev=508416
Log:
QPID-376 - Updated All Handlers to throw channel exception when channel is null.
Updated QueueBindHandler.


Modified:
    incubator/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/QueueBindHandler.java

Modified: incubator/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/QueueBindHandler.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/QueueBindHandler.java?view=diff&rev=508416&r1=508415&r2=508416
==============================================================================
--- incubator/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/QueueBindHandler.java (original)
+++ incubator/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/QueueBindHandler.java Fri Feb 16 06:23:23 2007
@@ -66,10 +66,10 @@
         {
             AMQChannel channel = session.getChannel(evt.getChannelId());
 
-//            if (channel == null)
-//            {
-//                throw body.getChannelNotFoundException(evt.getChannelId());
-//            }
+            if (channel == null)
+            {
+                throw body.getChannelNotFoundException(evt.getChannelId());
+            }
 
             queue = channel.getDefaultQueue();