activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander L." <ferve...@yandex.ru>
Subject Choose Stomp instead of OpenWire
Date Thu, 30 Jul 2009 18:33:38 GMT

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.


Mime
View raw message