activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r508908 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands: ConsumerInfo.cpp Message.cpp
Date Sun, 18 Feb 2007 16:08:10 GMT
Author: nmittler
Date: Sun Feb 18 08:08:10 2007
New Revision: 508908

URL: http://svn.apache.org/viewvc?view=rev&rev=508908
Log:
[AMQCPP-30] updated output of priority in toString()

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/Message.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp?view=diff&rev=508908&r1=508907&r2=508908
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ConsumerInfo.cpp
Sun Feb 18 08:08:10 2007
@@ -162,7 +162,7 @@
     stream << " Value of NoLocal = " << this->isNoLocal() << std::endl;
     stream << " Value of Exclusive = " << this->isExclusive() << std::endl;
     stream << " Value of Retroactive = " << this->isRetroactive() <<
std::endl;
-    stream << " Value of Priority = " << this->getPriority() << std::endl;
+    stream << " Value of Priority = " << (int)this->getPriority() <<
std::endl;
     for( size_t ibrokerPath = 0; ibrokerPath < this->getBrokerPath().size(); ++ibrokerPath
) {
         stream << " Value of BrokerPath[" << ibrokerPath << "] is Below:"
<< std::endl;
         if( this->getBrokerPath()[ibrokerPath] != NULL ) {

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/Message.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/Message.cpp?view=diff&rev=508908&r1=508907&r2=508908
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/Message.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/Message.cpp
Sun Feb 18 08:08:10 2007
@@ -228,7 +228,7 @@
     stream << " Value of CorrelationId = " << this->getCorrelationId() <<
std::endl;
     stream << " Value of Persistent = " << this->isPersistent() << std::endl;
     stream << " Value of Expiration = " << this->getExpiration() <<
std::endl;
-    stream << " Value of Priority = " << this->getPriority() << std::endl;
+    stream << " Value of Priority = " << (int)this->getPriority() <<
std::endl;
     stream << " Value of ReplyTo is Below:" << std::endl;
     if( this->getReplyTo() != NULL ) {
         stream << this->getReplyTo()->toString() << std::endl;



Mime
View raw message