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/05 22:39:43 UTC
svn commit: r1031820 -
/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/SessionExecutor.cs
Author: tabish
Date: Fri Nov 5 21:39:43 2010
New Revision: 1031820
URL: http://svn.apache.org/viewvc?rev=1031820&view=rev
Log:
Apply a fix to the session executor that was found in NMS.ActiveMQ
Modified:
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/SessionExecutor.cs
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/SessionExecutor.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/SessionExecutor.cs?rev=1031820&r1=1031819&r2=1031820&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/SessionExecutor.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/SessionExecutor.cs Fri Nov 5 21:39:43 2010
@@ -126,15 +126,14 @@ namespace Apache.NMS.Stomp
{
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)
{