incomingMessages.add(message); } else { notifyPendingReceivedCallback(message, null);
notifyPendingReceivedCallback(message, null); notifyPendingReceivedCallback(null, new PulsarClientException.InvalidMessageException( format("Unsupported Batch message with 0 size receiver queue for [%s]-[%s] ",