mirror of https://github.com/apache/activemq.git
This closes #138
This commit is contained in:
commit
99229504d3
|
@ -173,6 +173,8 @@ public class JmsConsumerClient extends AbstractJmsMeasurableClient {
|
|||
@Override
|
||||
public void onMessage(Message msg) {
|
||||
incThroughput();
|
||||
sleep();
|
||||
|
||||
recvCount.incrementAndGet();
|
||||
synchronized (recvCount) {
|
||||
recvCount.notify();
|
||||
|
|
Loading…
Reference in New Issue