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 communicating. -- View this message in context: http://activemq.2283324.n4.nabble.com/HTML-JS-works-in-Demo-but-not-under-JBOSS-7-1-Eclipse-tp4584105p4594021.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.