activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r990626 - in /activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp: MessageConsumer.cs MessageProducer.cs
Date Sun, 29 Aug 2010 18:58:06 GMT
Author: tabish
Date: Sun Aug 29 18:58:06 2010
New Revision: 990626

URL: http://svn.apache.org/viewvc?rev=990626&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQNET-271

Fix a couple build errors.

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

Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageConsumer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageConsumer.cs?rev=990626&r1=990625&r2=990626&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageConsumer.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageConsumer.cs Sun
Aug 29 18:58:06 2010
@@ -237,7 +237,7 @@ namespace Apache.NMS.MSMQ
 
             if(this.ConsumerTransformer != null)
             {
-                IMessage newMessage = ConsumerTransformer(this.session, this, message);
+                IMessage newMessage = ConsumerTransformer(this.session, this, converted);
                 if(newMessage != null)
                 {
                     converted = newMessage;

Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs?rev=990626&r1=990625&r2=990626&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs Sun
Aug 29 18:58:06 2010
@@ -102,9 +102,8 @@ namespace Apache.NMS.MSMQ
             Send(destination, message, DeliveryMode, Priority, TimeToLive);
         }
 
-        public void Send(IDestination destination, IMessage imessage, MsgDeliveryMode deliveryMode,
MsgPriority priority, TimeSpan timeToLive)
+        public void Send(IDestination destination, IMessage message, MsgDeliveryMode deliveryMode,
MsgPriority priority, TimeSpan timeToLive)
         {
-            BaseMessage message = (BaseMessage) imessage;
             MessageQueue mq = null;
 
             try



Mime
View raw message