/********************************************************************
 * Copyright © 2006 VHA. All rights reserved
 ********************************************************************/
package gov.va.med.fw.service.jms;

/**
 * Initial javadoc for class RecoverableMessageDrivenService.
 * 
 * Created Dec 7, 2006 3:18:16 PM
 * @author DNS   BOHMEG
 */
public class RecoverableMessageDrivenService extends MessageDrivenService {

	/**
    * An instance of serialVersionUID 
    */
   private static final long serialVersionUID = -5199741911584462238L;

   /**
    * A default constructor
    */
   public RecoverableMessageDrivenService() {
      super();
   }

   /**
	 * @see gov.va.med.fw.service.jms.MessagDrivenService#shouldFailConsumption(java.lang.Throwable)
	 */
	protected boolean shouldFailConsumption(Throwable t) {
		return true; // failing the consumption should allow for the JMS Message to be reprocessed
	}
}
