Interface implemented by classes that wish to listen to publish events.
Methods
-
onError(sSubject, sErrorType)
-
Called when there is an error with the publish command.
Parameters:
Name Type Description sSubject
String The subject of the record that there was an error publishing to. sErrorType
module:caplin/services/messaging/PublishError The type of error. -
onSuccess(sSubject)
-
Called to signify that the publish was successful.
Parameters:
Name Type Description sSubject
String The subject of the record that was successfuly published to.