activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r821018 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ.Openwire.Generator/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java
Date Fri, 02 Oct 2009 13:40:33 GMT
Author: tabish
Date: Fri Oct  2 13:40:32 2009
New Revision: 821018

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

Updates for Message class generation.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ.Openwire.Generator/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ.Openwire.Generator/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ.Openwire.Generator/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java?rev=821018&r1=821017&r2=821018&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ.Openwire.Generator/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ.Openwire.Generator/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java
Fri Oct  2 13:40:32 2009
@@ -60,7 +60,7 @@
 
         super.generateAdditonalMembers( out );
 
-        out.println("        public int Size()" );
+        out.println("        public virtual int Size()" );
         out.println("        {");
         out.println("            int size = DEFAULT_MINIMUM_MESSAGE_SIZE;");
         out.println("");
@@ -76,7 +76,7 @@
         out.println("            return size;");
         out.println("        }");
         out.println("");
-        out.println("        public void OnSend()" );
+        out.println("        public virtual void OnSend()" );
         out.println("        {");
         out.println("            this.ReadOnlyProperties = true;" );
         out.println("            this.ReadOnlyBody = true;");



Mime
View raw message