activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From talNitzan <junker...@walla.com>
Subject sending a string to activeMQ is stomp usiong C++ and sockets
Date Fri, 13 Feb 2009 16:53:30 GMT

hello we are nitzan and tal, we are students at the universtiy for Computer
Science
we have a task to implement a simple chat room 
we need to use a stomp and ActiveMQ

we started the activeMQ 
and now in our "testClient" class (in C++) we wrote the folowing line to 
the console
CONNECT\nlogin:foo\npasscode:bar\n\n^@

this is a section of code from the testClient
std::cout << "Listening for command" << std::endl;
		char buf[512];
		cin.getline(buf,512);

and nothing happens..
how can we check if the activeMQ got our line of code?? id doesn't respond

if we use the same line in the telnet it is working and we recive a recipt
message 

so the question is how can we access the activeMQ  and verify our command?
did it get our command but doesn't respond, or it get the command at all..

thank you

-- 
View this message in context: http://www.nabble.com/sending-a-string-to-activeMQ-is-stomp-usiong-C%2B%2B-and-sockets-tp22000399p22000399.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message