activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From habumaster <phil.din...@ericsson.com>
Subject Re: ActiveMQ 5.4.2 Ajax interface losing message ids under stress
Date Sun, 30 Jan 2011 23:42:58 GMT

>I have sometimes seen this error, but I'm not sure what causes it.  I only
see it occasionally while testing >other features and I haven't been able to
reproduce it reliably.  If you are able to, could you explain how >in more
detail? 
>There's another issue in 5.4.2 which can cause an ajax client to not
receive all messages intended for it. 
>https://issues.apache.org/jira/browse/AMQ-3094

>I recently checked in a fix for this issue, so could you try your tests
with a nightly snapshot build and see >if that helps at all? 
>https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/apache-activemq/5.5->SNAPSHOT/

alex 


I will try that build tomorrow and let you know.

The how we do it: a ruby script run in a unix term 

require 'rubygems'
require 'stomp'

for x in 1..20

sc = Stomp::Client.new("", "",  "47.105.91.75", "61613", false)

data = "<![CDATA[Element.insert(\"chat_message_list_70\", { bottom:
\"<li>Dave_#{x}<\li>\"})]]>"

puts "#{data.inspect}"
puts "#{data}.End of data"

sc.publish("/topic/CHANNEL_16", data, {"amq-msg-type"=>"text"} )
	     
sc.close

end

This has the numbering inserted as well (Dave_1, Dave_2, etc)
I also saw the messages return in the wrong order :(

Phil
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-4-2-Ajax-interface-losing-message-ids-under-stress-tp3245621p3247803.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message