You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by df...@apache.org on 2021/04/09 20:12:15 UTC
[activemq-nms-openwire-generator] 10/32:
https://issues.apache.org/activemq/browse/AMQNET-162
This is an automated email from the ASF dual-hosted git repository.
dfoulks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-nms-openwire-generator.git
commit 8bdbfa596e339c6edcabd548e6ea4fe88ee867fb
Author: Timothy A. Bish <ta...@apache.org>
AuthorDate: Fri Oct 2 13:40:32 2009 +0000
https://issues.apache.org/activemq/browse/AMQNET-162
Updates for Message class generation.
---
.../apache/activemq/nms/openwire/tool/commands/MessageGenerator.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java b/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java
index 0cf6382..cfb3526 100644
--- a/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java
+++ b/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageGenerator.java
@@ -60,7 +60,7 @@ public class MessageGenerator extends CommandClassGenerator {
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 @@ public class MessageGenerator extends CommandClassGenerator {
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;");