for (URI key : messageMap.keySet()) {
ms.removeMessage(key, MessageStore.CLASSIFICATION_RDLVR);
}
Service noneExistingService = new Service("none-exising-category", "none-existing-service-name");
ServiceInvoker si = new ServiceInvoker(noneExistingService);
si.deliverAsync(message);
//Adding this control code to show where the message now is.
Map<URI, Message> rdlvrMessageMap = ms.getAllMessages(MessageStore.CLASSIFICATION_RDLVR);
while (rdlvrMessageMap.size() == 0) { //we may have to wait for the DLQService to act.
logger.info("...Waiting for the DLQ Service to act.");