throw new RxRuntimeException(LocalizationMessages.WSRM_1160_DELIVERY_QUEUE_CLOSED());
}
if (!postponedMessageQueue.isEmpty()) {
for (;;) {
ApplicationMessage deliverableMessage = null;
synchronized (postponedMessageQueue) {
ApplicationMessage queueHead = postponedMessageQueue.peek();
// LOGGER.info(Thread.currentThread().getName() + " postponedMessageQueue head message number = " + ((queueHead != null) ? queueHead.getMessageNumber() + " is deliverable: " + isDeliverable(queueHead) : "n/a"));
if(queueHead != null && isDeliverable(queueHead)) {
deliverableMessage = postponedMessageQueue.poll();