Hello,

As shown on http://activemq.apache.org/cms/, activeMQ supports both Stomp
and OpenWire.

When I do

        pConnectionFactory =
               
cms::ConnectionFactory::createCMSConnectionFactory(getBrokerURI());

         m_pConnection =
                pConnectionFactory->createConnection(getUsername(),
getPassword());

I get an exception
OpenWireFormatNegotiator::requestWire format negotiation timeout: peer did
not send his wire format.

This is because there is Stomp on the other end.

How can I configure activeMQ to use Stomp connector instead of OpenWire?
I can not find applicable method in API...

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Choose-Stomp-instead-of--OpenWire-tp24744326p24744326.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to