Class EsbPublishOutput
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.AbstractActionOutput
com.kingsrook.qqq.esb.publish.EsbPublishOutput
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetError()Getter for error - null when the publish succeeded.getSent()Getter for sentGetter for successvoidSetter for errorvoidSetter for sentvoidsetSuccess(Boolean success) Setter for successFluent setter for errorFluent setter for sentwithSuccess(Boolean success) Fluent setter for success
-
Constructor Details
-
EsbPublishOutput
public EsbPublishOutput()
-
-
Method Details
-
getSuccess
Getter for success -
setSuccess
Setter for success -
withSuccess
Fluent setter for success -
getSent
Getter for sent -
setSent
Setter for sent -
withSent
Fluent setter for sent -
getError
Getter for error - null when the publish succeeded. -
setError
Setter for error -
withError
Fluent setter for error
-