Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5926

Scheduled Deliveries will be sent out of sequence if you have many deliveries set at the same time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • EAP 5.1.0 Post Release
    • EAP 5.1.0 Post Release
    • HornetQ
    • None

      This is using build 10183.

      Messages that have been rolled back are redelivered out of sequence.

      For example, we publish 5 messages to a Q with message body 1,2,3,4,5 respectively.
      Create a transacted session and consume all 5 messages. Do not commit or rollback. Simply close the consumer and the session. This should cause an implicit rollback.
      Then create a new consumer and consume the same messages. You expect the messages to be delivered in the same order, 1,2,3,4,5.
      As the results show, the sequence in which the 5 messages are redelivered is quite random. The attached log file, results.txt shows the output from the test client for 3 separate runs. In each of the three runs, the redelivered messages are in some random sequence.

      We are using a 0 client side buffer (<consumer-window-size>0</consumer-window-size>).

      Attached:
      Test client
      Results

              csuconic@redhat.com Clebert Suconic
              rogerhui Roger Hui (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: