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/12 16:39:47 UTC
svn commit: r898380 - in
/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands:
ConnectionInfo.cs ConsumerInfo.cs MessageAck.cs MessageDispatch.cs
ProducerInfo.cs RemoveSubscriptionInfo.cs SubscriptionInfo.cs
TransactionInfo.cs
Author: tabish
Date: Tue Jan 12 15:39:47 2010
New Revision: 898380
URL: http://svn.apache.org/viewvc?rev=898380&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/ConnectionInfo.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerInfo.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageAck.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageDispatch.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerInfo.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/RemoveSubscriptionInfo.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SubscriptionInfo.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionInfo.cs
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionInfo.cs?rev=898380&r1=898379&r2=898380&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionInfo.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionInfo.cs Tue Jan 12 15:39:47 2010
@@ -47,9 +47,9 @@
public override string ToString()
{
return GetType().Name + "[" +
- "ConnectionId=" + ConnectionId +
- "ClientId=" + ClientId +
- "Password=" + Password +
+ "ConnectionId=" + ConnectionId + ", " +
+ "ClientId=" + ClientId + ", " +
+ "Password=" + Password + ", " +
"UserName=" + UserName +
"]";
}
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerInfo.cs?rev=898380&r1=898379&r2=898380&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerInfo.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerInfo.cs Tue Jan 12 15:39:47 2010
@@ -59,18 +59,18 @@
public override string ToString()
{
return GetType().Name + "[" +
- "ConsumerId=" + ConsumerId +
- "Destination=" + Destination +
- "Ack Mode=" + AckMode +
- "PrefetchSize=" + PrefetchSize +
- "MaximumPendingMessageLimit=" + MaximumPendingMessageLimit +
- "DispatchAsync=" + DispatchAsync +
- "Selector=" + Selector +
- "SubscriptionName=" + SubscriptionName +
- "NoLocal=" + NoLocal +
- "Exclusive=" + Exclusive +
- "Retroactive=" + Retroactive +
- "Priority=" + Priority +
+ "ConsumerId=" + ConsumerId + ", " +
+ "Destination=" + Destination + ", " +
+ "Ack Mode=" + AckMode + ", " +
+ "PrefetchSize=" + PrefetchSize + ", " +
+ "MaximumPendingMessageLimit=" + MaximumPendingMessageLimit + ", " +
+ "DispatchAsync=" + DispatchAsync + ", " +
+ "Selector=" + Selector + ", " +
+ "SubscriptionName=" + SubscriptionName + ", " +
+ "NoLocal=" + NoLocal + ", " +
+ "Exclusive=" + Exclusive + ", " +
+ "Retroactive=" + Retroactive + ", " +
+ "Priority=" + Priority + ", " +
"]";
}
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageAck.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageAck.cs?rev=898380&r1=898379&r2=898380&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageAck.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageAck.cs Tue Jan 12 15:39:47 2010
@@ -50,12 +50,12 @@
public override string ToString()
{
return GetType().Name + "[" +
- "Destination=" + Destination +
- "TransactionId=" + TransactionId +
- "ConsumerId=" + ConsumerId +
- "AckType=" + AckType +
- "FirstMessageId=" + FirstMessageId +
- "LastMessageId=" + LastMessageId +
+ "Destination=" + Destination + ", " +
+ "TransactionId=" + TransactionId + ", " +
+ "ConsumerId=" + ConsumerId + ", " +
+ "AckType=" + AckType + ", " +
+ "FirstMessageId=" + FirstMessageId + ", " +
+ "LastMessageId=" + LastMessageId + ", " +
"MessageCount=" + MessageCount +
"]";
}
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageDispatch.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageDispatch.cs?rev=898380&r1=898379&r2=898380&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageDispatch.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/MessageDispatch.cs Tue Jan 12 15:39:47 2010
@@ -47,9 +47,9 @@
public override string ToString()
{
return GetType().Name + "[" +
- "ConsumerId=" + ConsumerId +
- "Destination=" + Destination +
- "Message=" + Message +
+ "ConsumerId=" + ConsumerId + ", " +
+ "Destination=" + Destination + ", " +
+ "Message=" + Message + ", " +
"RedeliveryCounter=" + RedeliveryCounter +
"]";
}
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerInfo.cs?rev=898380&r1=898379&r2=898380&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerInfo.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerInfo.cs Tue Jan 12 15:39:47 2010
@@ -46,8 +46,8 @@
public override string ToString()
{
return GetType().Name + "[" +
- "ProducerId=" + ProducerId +
- "Destination=" + Destination +
+ "ProducerId=" + ProducerId + ", " +
+ "Destination=" + Destination + ", " +
"DispatchAsync=" + DispatchAsync +
"]";
}
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/RemoveSubscriptionInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/RemoveSubscriptionInfo.cs?rev=898380&r1=898379&r2=898380&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/RemoveSubscriptionInfo.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/RemoveSubscriptionInfo.cs Tue Jan 12 15:39:47 2010
@@ -55,9 +55,9 @@
public override string ToString()
{
return GetType().Name + "[" +
- "ConnectionId=" + ConnectionId +
- "SubscriptionName=" + SubscriptionName +
- "ClientId=" + ClientId +
+ "ConnectionId=" + ConnectionId + ", " +
+ "SubscriptionName=" + SubscriptionName + ", " +
+ "ClientId=" + ClientId +
"]";
}
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SubscriptionInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SubscriptionInfo.cs?rev=898380&r1=898379&r2=898380&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SubscriptionInfo.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SubscriptionInfo.cs Tue Jan 12 15:39:47 2010
@@ -48,10 +48,10 @@
public override string ToString()
{
return GetType().Name + "[" +
- "ClientId=" + ClientId +
- "Destination=" + Destination +
- "Selector=" + Selector +
- "SubscriptionName=" + SubscriptionName +
+ "ClientId=" + ClientId + ", " +
+ "Destination=" + Destination + ", " +
+ "Selector=" + Selector + ", " +
+ "SubscriptionName=" + SubscriptionName + ", " +
"SubscribedDestination=" + SubscribedDestination +
"]";
}
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionInfo.cs?rev=898380&r1=898379&r2=898380&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionInfo.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionInfo.cs Tue Jan 12 15:39:47 2010
@@ -50,8 +50,8 @@
public override string ToString()
{
return GetType().Name + "[" +
- "ConnectionId=" + ConnectionId +
- "TransactionId=" + TransactionId +
+ "ConnectionId=" + ConnectionId + ", " +
+ "TransactionId=" + TransactionId + ", " +
"Type=" + Type +
"]";
}