When an Error or an Exception is encountered while publishing a message by a Message Publisher Workstep Instance, the workstep is suspended and the message is not published. When the error condition is resolved and then, if the publisher workstep is resumed, then the message gets published.