Fixing DLQ tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643108 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-03-31 19:26:19 +00:00
parent 53c9bab824
commit 8e98b13c87
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
deliveredMessages.clear();
}
}
if (messageListener != null) {
if (messageListener.get() != null) {
session.redispatch(this, unconsumedMessages);
}
}