|
As of October 27th, please open all new issues in the Red Hat Customer Portal . |
|
[
Permlink
| « Hide
]
Martin Murphy added a comment - 17/Jul/08 11:50 AM
You can of course set the cacheLevel to 1 on the JMS producer to work around this.
Martin.. that test case seems to do a lot more than what the issue is describing. Any change you can slim it down to just the jms producers and multiple consumers?
I'm going to try to slim it down. I don't think we need any ESB bits for this test case BTW.
Moved issue to the MB project.. I have created a new junit the confirms the problem.
Changing issue title to more clearly reflect the issue.
Attaching the junit case that confirms the bug.
The issue revolves around how ActiveMQ 5.x pages and dispatches messages to consumers. Every queue keeps list of paged in messages which defaults to 100 max entires. It round robins dispatching messages between consumers, even the slow consumers. Once the slow consumer gets 100 dispatched messages which it has not yet acked due to it being slow, then no further messages are paged in since the page in list is full.
I am evaluating different ways to implement this but, any change to this code could have repercussions which need to get evaluated. https://issues.apache.org/activemq/browse/AMQ-1866
Update.. we are now currently evaluating and testing the attached patch. It fixes the slow producer problem but we are trying to verify that it as not caused any other regressions.
fix from https://issues.apache.org/activemq/browse/AMQ-1866
|
||||||||||||||||||||||||||||||||||||||||||||||