activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r898571 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/BaseMessage.cs
Date Tue, 12 Jan 2010 23:19:25 GMT
Author: tabish
Date: Tue Jan 12 23:19:24 2010
New Revision: 898571

URL: http://svn.apache.org/viewvc?rev=898571&view=rev
Log:
Update the ToString methods in several of the commands to make the Logging more readable.

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/BaseMessage.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/BaseMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/BaseMessage.cs?rev=898571&r1=898570&r2=898571&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/BaseMessage.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/BaseMessage.cs
Tue Jan 12 23:19:24 2010
@@ -78,23 +78,23 @@
         public override string ToString()
         {
             return GetType().Name + "[" +
-                "ProducerId=" + ProducerId +
-                "Destination=" + Destination +
-                "TransactionId=" + TransactionId +
-                "MessageId=" + MessageId +
-                "OriginalTransactionId=" + OriginalTransactionId +
-                "GroupID=" + GroupID +
-                "GroupSequence=" + GroupSequence +
-                "CorrelationId=" + CorrelationId +
-                "Persistent=" + Persistent +
-                "Expiration=" + Expiration +
-                "Priority=" + Priority +
-                "ReplyTo=" + ReplyTo +
-                "Timestamp=" + Timestamp +
-                "Type=" + Type +
-                "Content=" + Content +
-                "MarshalledProperties=" + MarshalledProperties +
-                "TargetConsumerId=" + TargetConsumerId +
+                "ProducerId=" + ProducerId + ", " +
+                "Destination=" + Destination + ", " +
+                "TransactionId=" + TransactionId + ", " +
+                "MessageId=" + MessageId + ", " +
+                "OriginalTransactionId=" + OriginalTransactionId + ", " +
+                "GroupID=" + GroupID + ", " +
+                "GroupSequence=" + GroupSequence + ", " +
+                "CorrelationId=" + CorrelationId + ", " +
+                "Persistent=" + Persistent + ", " +
+                "Expiration=" + Expiration + ", " +
+                "Priority=" + Priority + ", " +
+                "ReplyTo=" + ReplyTo + ", " +
+                "Timestamp=" + Timestamp + ", " +
+                "Type=" + Type + ", " +
+                "Content=" + Content + ", " +
+                "MarshalledProperties=" + MarshalledProperties + ", " +
+                "TargetConsumerId=" + TargetConsumerId + ", " +
                 "RedeliveryCounter=" + RedeliveryCounter +
                 "]";
         }



Mime
View raw message