Class SenderResult

java.lang.Object
org.frankframework.core.SenderResult
All Implemented Interfaces:
AutoCloseable

public class SenderResult extends Object implements AutoCloseable
The SenderResult is a type to store both the result of the processing of a message by a Sender, as well as the exitState.
  • Constructor Details

    • SenderResult

      public SenderResult(String result)
    • SenderResult

      public SenderResult(@Nonnull Message result)
    • SenderResult

      public SenderResult(@Nonnull Message result, String errorMessage)
    • SenderResult

      public SenderResult(boolean success, @Nonnull Message result, String errorMessage, String forwardName)
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • isSuccess

      public boolean isSuccess()
    • setSuccess

      public void setSuccess(boolean success)
    • getResult

      public Message getResult()
    • setResult

      public void setResult(Message result)
    • getErrorMessage

      public String getErrorMessage()
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • getForwardName

      public String getForwardName()
    • setForwardName

      public void setForwardName(String forwardName)