You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by kevinba <ke...@itssiemens.com> on 2006/07/26 17:31:23 UTC
Openwire CPP Client Help
I got the latest from the
http://svn.activemq.org/branches/activemq-4.0.1/openwire-cpp
I don't know if this is the correct version to be working on or not.
When I run the test this is what I get.
Connecting to ActiveMQ broker...
Opening socket to: 127.0.0.1 on port 61616
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
The program is stuck waiting for response on the CONNECTION_INFO. The
response is null and there is an endless loop to sit there forever until
response is set.
Thanks for the help,
--
View this message in context: http://www.nabble.com/Openwire-CPP-Client-Help-tf2004485.html#a5505442
Sent from the ActiveMQ - Dev forum at Nabble.com.
RE: Openwire CPP Client Help
Posted by kevinba <ke...@itssiemens.com>.
I'm trying to get a CPP client working. Stomp doesn't support Temporary
topics so that is out of the question. I can't seem to get openwire-cpp
working from the 4.0.1 or trunk branch to work. Different problems.
Does anyone know of a good stable CPP client that I can use. I got the java
side of the application switched over to ActiveMQ in an hour but it has been
almost 2 weeks and still no working cpp side.
If that means using 4.0.0 branch that is fine, what ever branch I have to
use would be fine.
I need use of temporary topics, to create them and to send replies back to.
Request comes through on defined topic and the reply-to is set to a
temporary topic so everyone doesn't receive the results.
Thanks,
--
View this message in context: http://www.nabble.com/Openwire-CPP-Client-Help-tf2004485.html#a5507875
Sent from the ActiveMQ - Dev forum at Nabble.com.
Re: Openwire CPP Client Help
Posted by kevinba <ke...@itssiemens.com>.
I got the latest on the openwire-cpp from the trunk directory and that has a
different effect.
p<DataInputStream> OpenWireProtocol::checkInputStream(p<IInputStream>
istream) throw (IOException)
{
// Assert that supplied output stream is a data output stream
p<DataInputStream> dis = p_dyncast<DataInputStream> (istream) ;
The cast to DataInputStream causes the following error
First-chance exception at 0x10227637 (msvcr71d.dll) in activemq-test.exe:
0xC0000005: Access violation reading location 0x00000004.
The 4.0.1 branch hangs and never returns. The trunk version throws and
exception.
I can connect to the broker using java. I do notice on the jconsole that
the connection to the broker is created. But on the TcpTransport::Start()
method, it calls readThread->Start() that is where it throws the
exception.
Thanks,
--
View this message in context: http://www.nabble.com/Openwire-CPP-Client-Help-tf2004485.html#a5506356
Sent from the ActiveMQ - Dev forum at Nabble.com.