activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1031163 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/SessionExecutor.cs
Date Thu, 04 Nov 2010 19:15:17 GMT
Author: tabish
Date: Thu Nov  4 19:15:17 2010
New Revision: 1031163

URL: http://svn.apache.org/viewvc?rev=1031163&view=rev
Log:
fix for: https://issues.apache.org/activemq/browse/AMQNET-289

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/SessionExecutor.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/SessionExecutor.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/SessionExecutor.cs?rev=1031163&r1=1031162&r2=1031163&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/SessionExecutor.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/SessionExecutor.cs
Thu Nov  4 19:15:17 2010
@@ -150,15 +150,14 @@ namespace Apache.NMS.ActiveMQ
                     {
                         consumer = this.consumers[dispatch.ConsumerId] as MessageConsumer;
                     }
-
-                    // If the consumer is not available, just ignore the message.
-                    // Otherwise, dispatch the message to the consumer.
-                    if(consumer != null)
-                    {
-                        consumer.Dispatch(dispatch);
-                    }
                 }
-
+				
+                // If the consumer is not available, just ignore the message.
+                // Otherwise, dispatch the message to the consumer.
+                if(consumer != null)
+                {
+                    consumer.Dispatch(dispatch);
+                }
             }
             catch(Exception ex)
             {



Mime
View raw message