ActiveMQ
  1. ActiveMQ
  2. AMQ-3585

CLONE - ajax client does not receive all messages

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      OSX 10.6 on MacBook Pro

      java version "1.6.0_20"
      Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
      Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)

      Description

      Not all messages written to a destination are delivered to an ajax client. This seems particularly true if more than 1 message should be returned to a client at once. Often, if 5 messages are available, only the first 1 is actually returned in the <ajax-response> XML. The other 4 are lost.

      Steps to reproduce:

      chat-send.html will send 5 message to topic://CHAT.DEMO. Only 1 (or sometimes 2) messages will be received by the original browser window which is subscribed to the topic. The activemq web admin will verify that 5 messages were actually sent.

        Issue Links

          Activity

          Edmond Kemokai created issue -
          Edmond Kemokai made changes -
          Field Original Value New Value
          Link This issue is a clone of AMQ-3094 [ AMQ-3094 ]
          Hide
          Edmond Kemokai added a comment -

          Looks like this issue is back. I am using 5.5.1 and it seems to be using a different mechanism for managing pending messages. Specifically it is using the UndeliveredAjaxMessage object. It seems this new implementation caused the problem to reappear.

          Show
          Edmond Kemokai added a comment - Looks like this issue is back. I am using 5.5.1 and it seems to be using a different mechanism for managing pending messages. Specifically it is using the UndeliveredAjaxMessage object. It seems this new implementation caused the problem to reappear.

            People

            • Assignee:
              Dejan Bosanac
              Reporter:
              Edmond Kemokai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development