You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2006/11/17 01:36:10 UTC
svn commit: r476001 - in
/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands:
ActiveMQDestination.cpp ActiveMQDestination.h BrokerError.h
Author: tabish
Date: Thu Nov 16 16:36:09 2006
New Revision: 476001
URL: http://svn.apache.org/viewvc?view=rev&rev=476001
Log:
Updates for planned Openwire Support
Modified:
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp?view=diff&rev=476001&r1=476000&r2=476001
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp Thu Nov 16 16:36:09 2006
@@ -41,6 +41,7 @@
ActiveMQDestination::ActiveMQDestination()
{
this->physicalName = "";
+ this->orderedTarget = DEFAULT_ORDERED_TARGET;
}
////////////////////////////////////////////////////////////////////////////////
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h?view=diff&rev=476001&r1=476000&r2=476001
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h Thu Nov 16 16:36:09 2006
@@ -77,7 +77,7 @@
bool exclusive;
bool ordered;
bool advisory;
- std::string orderedTarget = DEFAULT_ORDERED_TARGET;
+ std::string orderedTarget;
std::string physicalName;
std::map<std::string, std::string> options;
@@ -168,7 +168,7 @@
* @param exclusive The exclusive to set.
*/
void setExclusive( bool exclusive ) {
- this.exclusive = exclusive;
+ this->exclusive = exclusive;
}
/**
@@ -182,7 +182,7 @@
* @param ordered The ordered to set.
*/
void setOrdered( bool ordered ) {
- this.ordered = ordered;
+ this->ordered = ordered;
}
/**
@@ -196,7 +196,7 @@
* @param orderedTarget The orderedTarget to set.
*/
void setOrderedTarget( const std::string& orderedTarget) {
- this.orderedTarget = orderedTarget;
+ this->orderedTarget = orderedTarget;
}
};
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h?view=diff&rev=476001&r1=476000&r2=476001
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h Thu Nov 16 16:36:09 2006
@@ -61,10 +61,10 @@
*/
virtual void copyCommand( const DataStructure* src ) {
- BrokerError* srcErr = dynamic_cast<BrokerError*>( src );
+ BrokerError* srcErr = dynamic_cast<const BrokerError*>( src );
if( srcErr == NULL || src == NULL ) {
- throw exceptions::NullPointerException(
+ throw activemq::exceptions::NullPointerException(
__FILE__, __LINE__,
"BrokerError::copyCommand - src is NULL or invalid" );
}