You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/11/04 20:15:17 UTC
svn commit: r1031163 -
/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/SessionExecutor.cs
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)
{