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 2009/05/14 20:27:41 UTC
svn commit: r774868 -
/activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageSourceGenerator.java
Author: tabish
Date: Thu May 14 18:27:41 2009
New Revision: 774868
URL: http://svn.apache.org/viewvc?rev=774868&view=rev
Log:
Commit changes made for generating the Message command to support the Stream Message.
Modified:
activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageSourceGenerator.java
Modified: activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageSourceGenerator.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageSourceGenerator.java?rev=774868&r1=774867&r2=774868&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageSourceGenerator.java (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageSourceGenerator.java Thu May 14 18:27:41 2009
@@ -25,7 +25,7 @@
super.populateIncludeFilesSet();
Set<String> includes = getIncludeFiles();
includes.add("<activemq/wireformat/openwire/marshal/BaseDataStreamMarshaller.h>");
- includes.add("<activemq/wireformat/openwire/marshal/PrimitiveMapMarshaller.h>");
+ includes.add("<activemq/wireformat/openwire/marshal/PrimitiveTypesMarshaller.h>");
}
protected void generateDefaultConstructorBody( PrintWriter out ) {
@@ -102,7 +102,7 @@
out.println("");
out.println(" marshalledProperties.clear();");
out.println(" if( !properties.isEmpty() ) {");
- out.println(" wireformat::openwire::marshal::PrimitiveMapMarshaller::marshal(");
+ out.println(" wireformat::openwire::marshal::PrimitiveTypesMarshaller::marshal(");
out.println(" &properties, marshalledProperties );");
out.println(" }");
out.println(" }");
@@ -117,7 +117,7 @@
out.println("");
out.println(" try{");
out.println("");
- out.println(" wireformat::openwire::marshal::PrimitiveMapMarshaller::unmarshal(");
+ out.println(" wireformat::openwire::marshal::PrimitiveTypesMarshaller::unmarshal(");
out.println(" &properties, marshalledProperties );");
out.println(" }");
out.println(" AMQ_CATCH_RETHROW( decaf::io::IOException )");