ActiveMQ
  1. ActiveMQ
  2. AMQ-3094

ajax client does not receive all messages

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • 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

          Alex Dean created issue -
          Alex Dean made changes -
          Field Original Value New Value
          Attachment chat-send.html [ 12466479 ]
          Alex Dean made changes -
          Attachment AjaxTest.java [ 12466484 ]
          Attachment include-commons-httpclient-in-pom-xml.patch [ 12466485 ]
          Attachment AjaxTest-output.txt [ 12466486 ]
          Alex Dean made changes -
          Attachment write_message_response_debugging.patch [ 12466850 ]
          Attachment write_message_response_debugging_output.txt [ 12466851 ]
          Dejan Bosanac made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Dejan Bosanac [ dejanb ]
          Fix Version/s 5.5.0 [ 12315626 ]
          Resolution Fixed [ 1 ]
          Alex Dean made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Alex Dean made changes -
          Attachment test_shows_that_ajax_client_misses_messages_which_arrive_while_poll_is_in_progress.patch [ 12467569 ]
          Alex Dean made changes -
          Attachment AjaxTest-output-eof-exception.txt [ 12467570 ]
          Attachment AjaxTest-output-no-eof-exception.txt [ 12467571 ]
          Attachment AjaxTest-output-notes.txt [ 12467572 ]
          Alex Dean made changes -
          Alex Dean made changes -
          Attachment AjaxTest-output-eof-exception.txt [ 12467570 ]
          Alex Dean made changes -
          Attachment AjaxTest-output-no-eof-exception.txt [ 12467571 ]
          Alex Dean made changes -
          Attachment AjaxTest-output-notes.txt [ 12467572 ]
          Alex Dean made changes -
          Attachment AjaxTest-output.txt [ 12466486 ]
          Alex Dean made changes -
          Attachment AjaxTest.java [ 12466484 ]
          Alex Dean made changes -
          Attachment test_shows_that_ajax_client_misses_messages_which_arrive_while_poll_is_in_progress.patch [ 12467569 ]
          Alex Dean made changes -
          Attachment write_message_response_debugging.patch [ 12466850 ]
          Alex Dean made changes -
          Attachment write_message_response_debugging_output.txt [ 12466851 ]
          Alex Dean made changes -
          Attachment all_messages_are_delivered_to_ajax_clients.2.patch [ 12467891 ]
          Alex Dean made changes -
          Alex Dean made changes -
          Attachment all_messages_are_delivered_to_ajax_clients.2.patch [ 12467891 ]
          Alex Dean made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Edmond Kemokai made changes -
          Link This issue is cloned as AMQ-3585 [ AMQ-3585 ]
          Geert Pante made changes -
          Link This issue is depended upon by AMQ-5182 [ AMQ-5182 ]

            People

            • Assignee:
              Dejan Bosanac
              Reporter:
              Alex Dean
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development