Class EsbPublishOutput


public class EsbPublishOutput extends AbstractActionOutput
The result of publishing ESB events (EsbPublisher, EsbPublishAction): whether they were sent, how many, and - when they weren't - why. A publish sends all of its events or none of them, so sent is either the number of events or 0.
  • Constructor Details

    • EsbPublishOutput

      public EsbPublishOutput()
  • Method Details

    • getSuccess

      public Boolean getSuccess()
      Getter for success
    • setSuccess

      public void setSuccess(Boolean success)
      Setter for success
    • withSuccess

      public EsbPublishOutput withSuccess(Boolean success)
      Fluent setter for success
    • getSent

      public Integer getSent()
      Getter for sent
    • setSent

      public void setSent(Integer sent)
      Setter for sent
    • withSent

      public EsbPublishOutput withSent(Integer sent)
      Fluent setter for sent
    • getError

      public String getError()
      Getter for error - null when the publish succeeded.
    • setError

      public void setError(String error)
      Setter for error
    • withError

      public EsbPublishOutput withError(String error)
      Fluent setter for error