Messages are arriving out of sequence with large message volumes
----------------------------------------------------------------

                 Key: AMQ-2020
                 URL: https://issues.apache.org/activemq/browse/AMQ-2020
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.2.0
         Environment: all
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.3.0


With large volumes of messages, some messages can arrive out of order on 
occasion. Scenario is hard to reproduce but a single producer and single 
consumer can cause the problem if the volume is sufficiently high. The Producer 
needs to exceed the memory limit such that the cache is filled and when the 
broker moves over to the store from the cache, the consumer need to ack a 
message that will be redelivered from the store but would normally be 
suppressed as a duplicate. 
One way to avoid the problem is to disable the cache for a Queue:
{code}
<amq:policyEntry queue=">" useCache="false" >
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to