activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AMQ-2218) Message delivery to consumer eventually pauses if consumer publishes to the same queue it receives from
Date Thu, 24 Feb 2011 22:18:38 GMT

     [ https://issues.apache.org/jira/browse/AMQ-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish closed AMQ-2218.
-----------------------------

    Resolution: Not A Problem

Test case is trigger producer flow control, see.
http://activemq.apache.org/producer-flow-control.htm

> Message delivery to consumer eventually pauses if consumer publishes to the same queue
it receives from
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2218
>                 URL: https://issues.apache.org/jira/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
>             Fix For: 5.5.0
>
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message