activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gard <gar...@hotmail.com>
Subject Ruby Stomp client subscribe problem
Date Tue, 25 Apr 2006 13:31:04 GMT

Hi, 

I was wondering if anybody know what is the problem with Ruby, Stomp and
ActiveMQ.

Env:
ActiveMQ snapshot - 24.April.2006
stomp-1.0.1
ruby 1.8.4
Ubuntu 2.6.9-34

Sending messages works fine, but when i try to subscribe and receive a
message the client just hangs and i get a warning message on the ActiveMQ
console log:
WARN  ManagedTransportConnection     - Failed to unregister mbean:
org.apache.activemq:BrokerName=localhost,Type=Connection,Connection=ID_ubuntu-42492-1145826517660-3_3

I am using the test case and the client samples from
http://svn.stomp.codehaus.org/trunk/ruby/

It seems it hangs forever at these lines:
@client.subscribe(destination) {|msg| received = msg}
@client.send destination, message_text
sleep 0.01 until received

any pointers would be greatly appreciated

regards,

gard
--
View this message in context: http://www.nabble.com/Ruby-Stomp-client-subscribe-problem-t1505415.html#a4082273
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message