activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject question about the c++ code
Date Fri, 24 Mar 2006 22:04:57 GMT
I know virtually nothing about C++ but noticed this when scanning  
through the C++ port of the jms framework, and it looked odd to me:

In ActiveMQConnectionFactory.cpp I see this constructor:

ActiveMQConnectionFactory::ActiveMQConnectionFactory( const char*  
userName,
	const char* password,
	const char* brokerUrl ) throw( CMSException )
{
	this->userName = userName;
	this->password = password;

     brokerUrl = brokerUrl;

     transportFactory = new  
activemq::transport::stomp::StompTransportFactory();
}


I'd expect the 3rd assignment to be

this->broketUrl = brokerUrl;

If the code as written is correct, could someone explain to me how  
UserName and password are different from brokerUrl?

thanks
david jencks


Mime
View raw message