Java clients communicate with the Broker using Openwire as the protocal,
so leave the string as tcp://localhost:61613 and if there is a C++
client connected to the Broker ( via Stomp ) and subscribe to your Java
clients Topic or Queue, the Broker will handle sending the message from
java to c++ client.

> -----Original Message-----
> From: Paul Waldfogel [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 29, 2007 3:34 PM
> To: activemq-users@geronimo.apache.org
> Subject: Can the Java examples speak 'stomp' and talk with C++?
> 
> 
> I'm trying to have java send messages to C++ (windows
VisualStudio2005).
> I've successfully run the example in VisualStudio2005 (from
activeMQ-cpp
> version 1.0)
> I've successfully run the examples in Java (from version 4.1.0
incubator)
> I was thinking if I changed the URI in the Java examples it could
converse
> with C++ using stomp. I tried changing the Java URI to
> tcp::localhost:61613
> and stomp::localhost:61613. Those didn't successfully connect with the
> broker.
> Any help would be appreciated.
> --
> View this message in context:
http://www.nabble.com/Can-the-Java-examples-
> speak-%27stomp%27-and-talk-with-C%2B%2B--tf3138215.html#a8697334
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to