activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r834215 - /activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageHeaderGenerator.java
Date Mon, 09 Nov 2009 20:25:57 GMT
Author: tabish
Date: Mon Nov  9 20:25:57 2009
New Revision: 834215

URL: http://svn.apache.org/viewvc?rev=834215&view=rev
Log:
Add definition of onSend to the Message generator

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageHeaderGenerator.java

Modified: activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageHeaderGenerator.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageHeaderGenerator.java?rev=834215&r1=834214&r2=834215&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageHeaderGenerator.java
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageHeaderGenerator.java
Mon Nov  9 20:25:57 2009
@@ -126,6 +126,11 @@
         out.println("        virtual bool isExpired() const;");
         out.println("");
         out.println("        /**");
+        out.println("         * Allows derived Message classes to perform tasks before a
message is sent.");
+        out.println("         */");
+        out.println("        virtual void onSend() {}");
+        out.println("");
+        out.println("        /**");
         out.println("         * Gets a reference to the Message's Properties object, allows
the derived");
         out.println("         * classes to get and set their own specific properties.");
         out.println("         *");



Mime
View raw message