activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1463783 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
Date Tue, 02 Apr 2013 22:43:55 GMT
Author: tabish
Date: Tue Apr  2 22:43:54 2013
New Revision: 1463783

URL: http://svn.apache.org/r1463783
Log:
Use the right type conversion 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp?rev=1463783&r1=1463782&r2=1463783&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
Tue Apr  2 22:43:54 2013
@@ -207,11 +207,11 @@ namespace core{
             this->sendAcksAsync = Boolean::parseBoolean(
                 properties->getProperty("connection.sendAcksAsync", Boolean::toString(sendAcksAsync)));
             this->optimizeAcknowledgeTimeOut = Long::parseLong(
-                properties->getProperty("connection.optimizeAcknowledgeTimeOut", Integer::toString(optimizeAcknowledgeTimeOut)));
+                properties->getProperty("connection.optimizeAcknowledgeTimeOut", Long::toString(optimizeAcknowledgeTimeOut)));
             this->optimizedAckScheduledAckInterval = Long::parseLong(
-                properties->getProperty("connection.optimizedAckScheduledAckInterval",
Integer::toString(optimizedAckScheduledAckInterval)));
+                properties->getProperty("connection.optimizedAckScheduledAckInterval",
Long::toString(optimizedAckScheduledAckInterval)));
             this->consumerFailoverRedeliveryWaitPeriod = Long::parseLong(
-                properties->getProperty("connection.consumerFailoverRedeliveryWaitPeriod",
Integer::toString(consumerFailoverRedeliveryWaitPeriod)));
+                properties->getProperty("connection.consumerFailoverRedeliveryWaitPeriod",
Long::toString(consumerFailoverRedeliveryWaitPeriod)));
 
             this->defaultPrefetchPolicy->configure(*properties);
             this->defaultRedeliveryPolicy->configure(*properties);



Mime
View raw message