This closes #1580
This commit is contained in:
commit
87dab340c4
|
@ -607,8 +607,9 @@ public class ServerConsumerImpl implements ServerConsumer, ReadyListener {
|
||||||
boolean performACK = lastConsumedAsDelivered;
|
boolean performACK = lastConsumedAsDelivered;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (largeMessageDeliverer != null) {
|
LargeMessageDeliverer pendingLargeMessageDeliverer = largeMessageDeliverer;
|
||||||
largeMessageDeliverer.finish();
|
if (pendingLargeMessageDeliverer != null) {
|
||||||
|
pendingLargeMessageDeliverer.finish();
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
ActiveMQServerLogger.LOGGER.errorResttingLargeMessage(e, largeMessageDeliverer);
|
ActiveMQServerLogger.LOGGER.errorResttingLargeMessage(e, largeMessageDeliverer);
|
||||||
|
|
Loading…
Reference in New Issue