activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r519653 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp
Date Sun, 18 Mar 2007 17:57:00 GMT
Author: nmittler
Date: Sun Mar 18 10:56:59 2007
New Revision: 519653

URL: http://svn.apache.org/viewvc?view=rev&rev=519653
Log:
AMQCPP-94 - applying patch to use Long instead of Integer

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp?view=diff&rev=519653&r1=519652&r2=519653
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp
Sun Mar 18 10:56:59 2007
@@ -33,7 +33,7 @@
 #include <activemq/connector/stomp/commands/DisconnectCommand.h>
 #include <activemq/connector/stomp/StompProducerInfo.h>
 #include <activemq/connector/stomp/StompTransactionInfo.h>
-#include <activemq/util/Integer.h>
+#include <activemq/util/Long.h>
 #include <activemq/util/Config.h>
 
 using namespace std;
@@ -449,7 +449,7 @@
             }
 
             stompCommand->setTransactionId(
-                Integer::toString(
+                Long::toString(
                     session->getTransactionInfo()->getTransactionId() ) );
         }
 
@@ -550,7 +550,7 @@
         BeginCommand cmd;
 
         cmd.setTransactionId(
-                Integer::toString( transaction->getTransactionId() ) );
+                Long::toString( transaction->getTransactionId() ) );
 
         transport->oneway( &cmd );
 
@@ -578,7 +578,7 @@
         CommitCommand cmd;
 
         cmd.setTransactionId(
-                Integer::toString( transaction->getTransactionId() ) );
+                Long::toString( transaction->getTransactionId() ) );
 
         transport->oneway( &cmd );
     }
@@ -603,7 +603,7 @@
         AbortCommand cmd;
 
         cmd.setTransactionId(
-                Integer::toString( transaction->getTransactionId() ) );
+                Long::toString( transaction->getTransactionId() ) );
 
         transport->oneway( &cmd );
     }
@@ -631,7 +631,7 @@
         if( transaction != NULL )
         {
             cmd->setTransactionId(
-                Integer::toString( transaction->getTransactionId() ) );
+                Long::toString( transaction->getTransactionId() ) );
         }
 
         return cmd;
@@ -655,7 +655,7 @@
         if( transaction != NULL )
         {
             cmd->setTransactionId(
-                Integer::toString( transaction->getTransactionId() ) );
+                Long::toString( transaction->getTransactionId() ) );
         }
 
         return cmd;
@@ -679,7 +679,7 @@
         if( transaction != NULL )
         {
             cmd->setTransactionId(
-                Integer::toString( transaction->getTransactionId() ) );
+                Long::toString( transaction->getTransactionId() ) );
         }
 
         return cmd;



Mime
View raw message