Hiram R. Chirino 2006-10-16 19:50:20 +00:00
parent 5159e2b9ad
commit 2e08bc7f37
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
checkClosed(); checkClosed();
checkMessageListener(); checkMessageListener();
sendPullCommand(-1); sendPullCommand(0);
MessageDispatch md = dequeue(-1); MessageDispatch md = dequeue(-1);
if (md == null) if (md == null)
return null; return null;