activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Chayapathi <sand...@wssource.com>
Subject Composite Destination and Stomp
Date Tue, 22 Aug 2006 20:50:27 GMT
Hi,
  I use the ruby Stomp client to send message to a composite 
destination, made of a queue and a topic. Here is the snippet of the code:
------------
require 'stomp'

client = Stomp::Connection.new("test","user","localhost","61613")


for i in 0..10
    sleep 1
    client.send "/queue/FOO.durable,/topic/FOO.test", "[Ruby] message " 
+ i.to_s
    puts "[Ruby] message " + i.to_s
end

client.disconnect
--------------

 Using JConsole, Im able to see that this creates two queues:
  . FOO.durable  &
  . /topic/FOO.test

 where as I had expected FOO.test to turn up under the topics. Im using 
ActiveMQ 4.0.2. What is the correct way to use durable destination under 
stomp ?

- Sandeep

Mime
View raw message