activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Cooper <n...@ndcooper.com>
Subject Re: CMS Connection question.
Date Wed, 04 Mar 2009 02:31:17 GMT

If you are using activemq-cpp (aka CMS) all you need to do is specify the
username/password when creating the connection...e.g.

ConnectionFactory* connectionFactory =
ConnectionFactory::createCMSConnectionFactory("brokerUri here");
cms::Connection* connection =
connectionFactory->createConnection("username", "password");
connection ->start();

// then continue on and create your session from the connection

-- 
View this message in context: http://www.nabble.com/CMS-Connection-question.-tp22297012p22322456.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message