activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Cooper <>
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:
Sent from the ActiveMQ - User mailing list archive at

View raw message