Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3094

ajax client does not receive all messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.4.2
    • 5.5.0
    • None
    • None
    • 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.

      Attachments

        1. chat-send.html
          3 kB
          Alex Dean
        2. include-commons-httpclient-in-pom-xml.patch
          0.5 kB
          Alex Dean
        3. all_messages_are_delivered_to_ajax_clients.patch
          29 kB
          Alex Dean
        4. all_messages_are_delivered_to_ajax_clients.2.patch
          29 kB
          Alex Dean

        Issue Links

          Activity

            People

              dejanb Dejan Bosanac
              alexdean Alex Dean
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: