activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r465696 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h
Date Thu, 19 Oct 2006 17:49:23 GMT
Author: tabish
Date: Thu Oct 19 10:49:22 2006
New Revision: 465696

URL: http://svn.apache.org/viewvc?view=rev&rev=465696
Log:
Code cleanup for upcoming release

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h?view=diff&rev=465696&r1=465695&r2=465696
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h
Thu Oct 19 10:49:22 2006
@@ -53,10 +53,10 @@
          * Get the Message Id of this Command
          * @return the Id of the Message
          */      
-        virtual const char* getMessageId(void) const{
+        virtual std::string getMessageId(void) const{
             return getPropertyValue( 
                 CommandConstants::toString( 
-                    CommandConstants::HEADER_MESSAGEID) );
+                    CommandConstants::HEADER_MESSAGEID ), "" );
         }
       
         /**
@@ -66,7 +66,7 @@
         virtual void setMessageId( const std::string& messageId ){
             setPropertyValue( 
                 CommandConstants::toString( 
-                    CommandConstants::HEADER_MESSAGEID),
+                    CommandConstants::HEADER_MESSAGEID ),
                 messageId );
         }
 



Mime
View raw message