for (URI key : messageMap.keySet()) {
ms.removeMessage(key, MessageStore.CLASSIFICATION_DLQ);
}
Service noneExistingService = new Service("none-exising-category", "none-existing-service-name");
ServiceInvoker si = new ServiceInvoker(noneExistingService);
si.deliverSync(message, 1000);
} catch (MessageStoreException mse) {
throw new ActionProcessingException(mse.getMessage(), mse);
} catch (MessageDeliverException mde) {
//Adding this control code to show where the message now is.
//We should get here on and we should have a message in the DLQ.