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.

Reply via email to