activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woodstockrich <>
Subject Re: HTML/JS works in Demo but not under JBOSS 7.1 / Eclipse
Date Sat, 28 Apr 2012 00:41:08 GMT
I finally have success, but it feels rough still.

It seems that when I first start up IE and go to my URL, it does not receive
the messages.  If I do a refresh, then it starts receiving messages.   

This is true with Firefox as well.

So I'm not quite sure why I have to invoke the refresh.

Also, I have two handlers to accept different messages.   Sometimes,
particularly IE, it only receives one of the two messages.

A minor observation related to Firefox. Just something to be aware of when
switching between browsers.
In Javascript, on message receipt the code is:  alert("Machine:"+ 
message.getAttribute('stock') + " " + message.getAttribute('status')+ "
text:" + message.text );
The text message being sent by my server process is: <message type="X"
stock="AB1" status="OK" movement="up"> Message extra text </message>
In IE, the alert displays as: Machine:AB1 OK text:Message extra text
In Firefox, the alert displays as: Machine:AB1 OK text:undefined

At least a nice way to end Friday, when I figured I'd have to abandon
ActiveMQ and all my work leading up to this if I didn't get it

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message