activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r646485 - /activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/DefaultMessageConverter.cs
Date Wed, 09 Apr 2008 19:08:08 GMT
Author: jgomes
Date: Wed Apr  9 12:08:06 2008
New Revision: 646485

URL: http://svn.apache.org/viewvc?rev=646485&view=rev
Log:
[AMQNET-67] System.Messaging.Message.Label can't be set to null

Modified:
    activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/DefaultMessageConverter.cs

Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/DefaultMessageConverter.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/DefaultMessageConverter.cs?rev=646485&r1=646484&r2=646485&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/DefaultMessageConverter.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/DefaultMessageConverter.cs
Wed Apr  9 12:08:06 2008
@@ -43,7 +43,10 @@
             answer.Recoverable = message.NMSPersistent;
             answer.Priority = MessagePriority.Normal;
             answer.ResponseQueue = responseQueue;
-			answer.Label = message.NMSType;
+			if(message.NMSType != null)
+			{
+				answer.Label = message.NMSType;
+			}
             return answer;
         }
 		



Mime
View raw message