public void deleteMessages(String queueName, List<String> receiptHandlers)
throws MessageBoxException {
MessageBoxService messageBoxService = new JMSMessageBoxService();
for (String receiptHandler : receiptHandlers) {
messageBoxService.deleteMessage(queueName, receiptHandler);
System.out.println("trying to delete message with receipt handler ==> " + receiptHandler);
}
}