Class DeliveryFailureMessageReceivedResult

java.lang.Object
com.novomind.ecom.api.imail.core.result.DeliveryFailureMessageReceivedResult

public final class DeliveryFailureMessageReceivedResult extends Object
The DeliveryFailureMessageReceivedResult can be used to determine the handling of the delivery failure message by the novomind iAGENT system. Therefore the DeliveryFailureAction of the DeliveryFailureMessageReceivedResult has to be set appropriately.
Since:
11.27
  • Constructor Details

    • DeliveryFailureMessageReceivedResult

      public DeliveryFailureMessageReceivedResult()
      This constructor creates a new DeliveryFailureMessageReceivedResult with an empty DeliveryFailureAction. If the created DeliveryFailureMessageReceivedResult is returned directly, the delivery failure message will be processed as defined by the configuration of the novomind iAGENT system. By setting a DeliveryFailureAction to this DeliveryFailureMessageReceivedResult the action that takes place in the novomind iAGENT system can be changed.
  • Method Details

    • setDeliveryFailureAction

      Sets the DeliveryFailureAction to this DeliveryFailureMessageReceivedResult. The DeliveryFailureAction determines the further handling of the delivery failure message by the novomind iAGENT system. The action REACTIVATE_TICKET is only valid if this delivery failure message has a sent ticket associated. Setting a non applicable DeliveryFailureAction leads to error output in the log files of the novomind iAGENT system. The handling of the delivery failure will not be changed.
      Parameters:
      deliveryFailureAction - a DeliveryFailureMessageReceivedResult.DeliveryFailureAction
      Returns:
      the set DeliveryFailureAction
      Since:
      11.27
    • getDeliveryFailureAction

      Returns the Optional DeliveryFailureAction of this DeliveryFailureMessageReceivedResult. The DeliveryFailureAction determines the further handling of the delivery failure message by the novomind iAGENT system. By default the returned Optional is empty.
      Returns:
      an Optional with the delivery failure action, or an empty Optional if normal processing of the delivery failure message should take place.
      Since:
      11.27