Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-1783

Combination of CACHE_NONE and Transacted Affects Message Ordering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBoss A-MQ 6.3
    • JBoss A-MQ 6.2.1
    • broker
    • None
    • Hide

      Do not use CACHE_NONE when using local JMS transactions and set prefetch to 0 when using XA transactions.

      Show
      Do not use CACHE_NONE when using local JMS transactions and set prefetch to 0 when using XA transactions.
    • Hide

      Please see attached tester.zip. The IP address will need to be modified accordingly. Look for the following when there is an occurrence of an out of sequence message:

      2016-06-23 14:27:27,258 [Camel (camel-1) thread #0 - JmsConsumer[TOOL.DEFAULT]] ERROR CounterBean                    - ERROR: rcvd counter = [1973] and previous rcvd = [1970]
      

      There are two routes: sender and receiver. After receiving the first message, the receiver sleeps for 20 seconds thus allowing sender to send its 20k messages.

      Show
      Please see attached tester.zip. The IP address will need to be modified accordingly. Look for the following when there is an occurrence of an out of sequence message: 2016-06-23 14:27:27,258 [Camel (camel-1) thread #0 - JmsConsumer[TOOL.DEFAULT]] ERROR CounterBean - ERROR: rcvd counter = [1973] and previous rcvd = [1970] There are two routes: sender and receiver. After receiving the first message, the receiver sleeps for 20 seconds thus allowing sender to send its 20k messages.

    Description

      A combination of CACHE_NONE, transacted route, and prefetch greater than or equal to 1 does not preserve message ordering. The higher the prefetch, the more likely the occurrence.

      Attachments

        Activity

          People

            gtully@redhat.com Gary Tully
            Argo_Integration Travis North (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: