Apply a fix to the session executor that was found in NMS.ActiveMQ
diff --git a/src/main/csharp/SessionExecutor.cs b/src/main/csharp/SessionExecutor.cs
index a0645f7..888ffc6 100644
--- a/src/main/csharp/SessionExecutor.cs
+++ b/src/main/csharp/SessionExecutor.cs
@@ -126,15 +126,14 @@
                     {
                         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)
             {