https://issues.apache.org/bugzilla/show_bug.cgi?id=47949
--- Comment #4 from Sebb <s...@apache.org> 2009-11-03 11:51:58 UTC --- (In reply to comment #3) > The problem is if 2 messages come into onMessage() before the sleep() expires > in sampleWithListener(), then onMessage() will put both messages into a single > buffer, and then they're read off as a single message in the > sampleWithListener(). I've seen this happen in my testing (it cost me quite > a > few hours trying to find this problem). > > A similar sequence of events can happen with sampleWithReceive() and the code > in ReceiveSubscriber.java. Agreed, more messages can appear in the buffer than requested, and the count can be lower than the actual. This has been fixed in SVN: URL: http://svn.apache.org/viewvc?rev=832521&view=rev Log: Better handling of received count The sample count will now agree with the buffer contents, but may there may be more messages than requested. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org