agave-notifications/notifications-core/src/main/java/org/iplantc/service/notification/events/NotificationAttemptProcessor.java
/**
	 * Writes a {@link NotificationAttempt} to the failed queue for the parent
	 * {@link Notification}
	 * 
	 * @param attempt
	 * @throws NotificationPolicyViolationException
	 * @throws NotificationException
	 */
Writes a  NotificationAttempt to the failed queue for the parent
Notification


Writes a NotificationAttempt to the failed queue for the parent Notification
protected void saveFailedAttempt(NotificationAttempt attempt) {
		log.debug("Pushing failed notification attempt for " + attempt.getNotificationId() + " on to the failed notification stack.");
		try {
			FailedNotificationAttemptQueue.getInstance().push(attempt);
			log.debug("Failed notification attempt for " + attempt.getNotificationId() + " successfully written to the failed notification stack.");
		} catch (NotificationException e1) {
			log.error(e1);
		}
	}
protected void saveFailedAttempt ( NotificationAttempt attempt ) { log . debug ( "Pushing failed notification attempt for " + attempt . getNotificationId ( ) + " on to the failed notification stack." ) ; try { FailedNotificationAttemptQueue . getInstance ( ) . push ( attempt ) ; log . debug ( "Failed notification attempt for " + attempt . getNotificationId ( ) + " successfully written to the failed notification stack." ) ; } catch ( NotificationException e1 ) { log . error ( e1 ) ; } }
Writes a {@link NotificationAttempt} to the failed queue for the parent
 {@link Notification}
Writes a { @link NotificationAttempt } to the failed queue for the parent { @link Notification }
// can't connect with mongo. The attempt has already failed and there's no // way for us to persist it otherwise. We need to log the error and move on.  // bummer. lost info.