Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 91193 invoked from network); 14 May 2009 18:28:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 18:28:04 -0000 Received: (qmail 7666 invoked by uid 500); 14 May 2009 18:28:04 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 7617 invoked by uid 500); 14 May 2009 18:28:04 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 7608 invoked by uid 99); 14 May 2009 18:28:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 18:28:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 18:28:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7BAC023888DC; Thu, 14 May 2009 18:27:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r774868 - /activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/MessageSourceGenerator.java Date: Thu, 14 May 2009 18:27:41 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090514182741.7BAC023888DC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 includes = getIncludeFiles(); includes.add(""); - includes.add(""); + includes.add(""); } 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 )");