You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by pjackson <pa...@boeing.com> on 2007/09/17 15:01:38 UTC

Java to C++

Can Java apps talk to C++ apps using active MQ?  Would they both use the
openwire transportConnector? I want to pass xml messages (i.e. strings).

The incubator-activemq-4.0.1 had a /openwire-cpp directory, which I compiled
but was not able to get working, even after adding
       <transportConnector name="openwire" uri="tcp://localhost:61615"/>
to the config file.  The test application hangs...
C:\_tools\ActiveMq\incubator-activemq-4.0.1\openwire-cpp\Debug>activemq-test.exe
Connecting to ActiveMQ broker...
Opening socket to: localhost on port 61615
Sending command: cmd.id = 1, corr.id = -1, type = CONNECTION_INFO
Received command: cmd.id = 0, corr.id = -1, type = WIRE_FORMAT_INFO
Received command: cmd.id = 1, corr.id = -1, type = BROKER_INFO

Any inputs appreciated. 
Paul
-- 
View this message in context: http://www.nabble.com/Java-to-C%2B%2B-tf4466512s2354.html#a12735292
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Java to C++

Posted by pjackson <pa...@boeing.com>.
Using CMS as you suggested worked.  I was able to get Java to publish and C++
to subcribe to a message.  Thanks.


pjackson wrote:
> 
> Can Java apps talk to C++ apps using active MQ?  Would they both use the
> openwire transportConnector? I want to pass xml messages (i.e. strings).
> 
> The incubator-activemq-4.0.1 had a /openwire-cpp directory, which I
> compiled but was not able to get working, even after adding
>        <transportConnector name="openwire" uri="tcp://localhost:61615"/>
> to the config file.  The test application hangs...
> C:\_tools\ActiveMq\incubator-activemq-4.0.1\openwire-cpp\Debug>activemq-test.exe
> Connecting to ActiveMQ broker...
> Opening socket to: localhost on port 61615
> Sending command: cmd.id = 1, corr.id = -1, type = CONNECTION_INFO
> Received command: cmd.id = 0, corr.id = -1, type = WIRE_FORMAT_INFO
> Received command: cmd.id = 1, corr.id = -1, type = BROKER_INFO
> 
> Any inputs appreciated. 
> Paul
> 

-- 
View this message in context: http://www.nabble.com/Java-to-C%2B%2B-tf4466512s2354.html#a12756687
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Java to C++

Posted by James Strachan <ja...@gmail.com>.
Yes. Try using CMS...

http://activemq.apache.org/cms/

I'd also recommend using a more recent version of ActiveMQ;
incuabtor-activemq-4.0.1 is really old now.


On 9/17/07, pjackson <pa...@boeing.com> wrote:
>
> Can Java apps talk to C++ apps using active MQ?  Would they both use the
> openwire transportConnector? I want to pass xml messages (i.e. strings).
>
> The incubator-activemq-4.0.1 had a /openwire-cpp directory, which I compiled
> but was not able to get working, even after adding
>        <transportConnector name="openwire" uri="tcp://localhost:61615"/>
> to the config file.  The test application hangs...
> C:\_tools\ActiveMq\incubator-activemq-4.0.1\openwire-cpp\Debug>activemq-test.exe
> Connecting to ActiveMQ broker...
> Opening socket to: localhost on port 61615
> Sending command: cmd.id = 1, corr.id = -1, type = CONNECTION_INFO
> Received command: cmd.id = 0, corr.id = -1, type = WIRE_FORMAT_INFO
> Received command: cmd.id = 1, corr.id = -1, type = BROKER_INFO
>
> Any inputs appreciated.
> Paul
> --
> View this message in context: http://www.nabble.com/Java-to-C%2B%2B-tf4466512s2354.html#a12735292
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/