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
|
@Override
|
||||||
public void onMessage(Message msg) {
|
public void onMessage(Message msg) {
|
||||||
incThroughput();
|
incThroughput();
|
||||||
|
sleep();
|
||||||
|
|
||||||
recvCount.incrementAndGet();
|
recvCount.incrementAndGet();
|
||||||
synchronized (recvCount) {
|
synchronized (recvCount) {
|
||||||
recvCount.notify();
|
recvCount.notify();
|
||||||
|
|
Loading…
Reference in New Issue