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/01/13 00:19:25 UTC

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

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 +
                 "]";
         }