activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dehmlow <dehml...@gmail.com>
Subject Can't Connect to broker using stomp on activemq cpp 3.0.1
Date Fri, 31 Jul 2009 23:14:19 GMT

Hello I'm trying to connect a 5.2.0 Active mq broker using the 3.0.1 cpp
client. 

I can connect send and receive fine when I use openwire:
tcp://localhost:61616?wireFormat=openwire

But if I use stomp:
tcp://localhost:61613?wireFormat=stomp

I send messages and never receive them.

My initial thought was that my URI was malformed based on the broker
configuration:

<transportConnectors>
  <transportConnector name="openwire" uri="tcp://localhost:61616"
discoveryUri="multicast://default" /> 
  <transportConnector name="ssl" uri="ssl://localhost:61617" /> 
  <transportConnector name="stomp" uri="stomp://localhost:61613" /> 
  <transportConnector name="xmpp" uri="xmpp://localhost:61222" /> 
</transportConnectors>

However if I connect to:
   stomp://localhost:61613?wireFormat=stomp

I get an exception at startup stating the stomp is not a valid transport.

Modifiying the broker as follows:
  <transportConnector name="stomp" uri="tcp://localhost:61613" /> 

I never return from the connect call and just sit there.

Any thoughs?
Thanks
-- 
View this message in context: http://www.nabble.com/Can%27t-Connect-to-broker-using-stomp-on-activemq-cpp-3.0.1-tp24764325p24764325.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message