You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Nick Cooper <ni...@ndcooper.com> on 2009/03/04 03:31:17 UTC

Re: CMS Connection question.

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.