logo       

Can't Connect to broker using stomp on activemq cpp 3.0.1: msg#13451

general

Subject: Can't Connect to broker using stomp on activemq cpp 3.0.1


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.

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise