activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HubbaBubba <stacy.ma...@csiro.au>
Subject Wierd skipping of messages using Websocket/activeMQ
Date Fri, 11 Apr 2014 13:33:01 GMT
Hi all,

First-time poster. I am using ActiveMQ 5.7.0 and the standard
conf/activemq.xml file with websockets:
        
<transportConnectors>            
<transportConnector name="websocket" uri="ws://0.0.0.0:61614"/>
</transportConnectors>

I have modified the websocket web chat demo for an app I am building. I have
it working, however there is a strange behavior. If I start the activeMQ
server and connect with just one browser, I see SEND/MESSAGE in my logger as
expected and each message is displayed:

<<< MESSAGE message-id:ID:XXXXXX-1397222782570-2:1:-1:1:10
destination:/queue/chat timestamp:1397222798636 expires:0 subscription:sub-0
persistent:true content-length:2 priority:0 qq

>>> SEND persistent:true priority:0 destination:/queue/chat content-length:2
>>> qq

However, when I connect another browser, only every second message displays
SEND/MESSAGE. This behavior is seen in both connected browsers.

Any thoughts?

Thanks in advance.




--
View this message in context: http://activemq.2283324.n4.nabble.com/Wierd-skipping-of-messages-using-Websocket-activeMQ-tp4680230.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message