ARTEMIS-1455 HQ222142: Error on resetting large message deliver - null: java.lang.NullPointerException
This commit is contained in:
parent
16aa7ed6cf
commit
53efdbab49
|
@ -607,8 +607,9 @@ public class ServerConsumerImpl implements ServerConsumer, ReadyListener {
|
|||
boolean performACK = lastConsumedAsDelivered;
|
||||
|
||||
try {
|
||||
if (largeMessageDeliverer != null) {
|
||||
largeMessageDeliverer.finish();
|
||||
LargeMessageDeliverer pendingLargeMessageDeliverer = largeMessageDeliverer;
|
||||
if (pendingLargeMessageDeliverer != null) {
|
||||
pendingLargeMessageDeliverer.finish();
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
ActiveMQServerLogger.LOGGER.errorResttingLargeMessage(e, largeMessageDeliverer);
|
||||
|
|
Loading…
Reference in New Issue