Hi guys,

I'm using this code to connect...


***********************************************

require 'rubygems'
require 'stomp'

stomp_params = {
    :hosts => [
        {:host => "amq", :port => 61613}
    ]
}

client = Stomp::Client.new(stomp_params)
client.subscribe("/queue/logsQueue", {:ack => 'client'}) do |msg|
  p msg
end
client.join

***********************************************

I noticed that if we have multiple sessions with the same connection, all
the sessions come with SessionId "-1".

Questions:

* does sessionid make sense with stomp connections?
* why SessionId is always "-1"?
* Is there a way to define a custom sessionId with ruby?


Thanks,
Thiago.

Reply via email to