}
// If no Exception Occurred We remove the Message
// and reset the delivery attempt count
processor.resetSentAttemptCount();
messageStore.poll();
} catch (Exception e) {
if (maxDeliverAttempts > 0) {
processor.incrementSendAttemptCount();
if (processor.getSendAttemptCount() >= maxDeliverAttempts) {