Message delivery to consumer eventually pauses if consumer publishes to the 
same queue it receives from
-------------------------------------------------------------------------------------------------------

                 Key: AMQ-2218
                 URL: https://issues.apache.org/activemq/browse/AMQ-2218
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.3.0
         Environment: Windows XP Professional 2002, Service Pack 2,  Intel 
Pentium D 3ghz, various 1.5 and 1.6 versions of jdk
            Reporter: Jar Lyons
         Attachments: EchoConsumerLoadTest.java

I have written a test case which will demonstrate the following scenarios:

1. Simple producer driving a queue, simple consumer pulling from the queue.
2. Simple producer driving a queue, simple consumer pulling from the queue and 
producing an echo of the original message into the same queue.

Expected: message delivery should not be interrupted.

Actual: in scenario 2, eventually (about 500k messages in my environment), the 
delivery is halted to the consumer.

Test Output:

waiting for consumer to pause ... consumer: 0, producer: 0
waiting for consumer to pause ... consumer: 3738, producer: 29796
waiting for consumer to pause ... consumer: 9224, producer: 67841
waiting for consumer to pause ... consumer: 9224, producer: 67841
waiting for consumer to pause ... consumer: 9224, producer: 67841
waiting for consumer to pause ... consumer: 9224, producer: 67841
waiting for consumer to pause ... consumer: 9224, producer: 67841
waiting for consumer to pause ... consumer: 9224, producer: 67841
waiting for consumer to pause ... consumer: 9224, producer: 67841
waiting for consumer to pause ... consumer: 9224, producer: 67841


-- 
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