A callback which is called when the send message request fails.
The message given to the callback is a failed message that possibly gets re-sent if applicable.
A callback which is called immediately after the send message request.
The message given to the callback is a pending message that is not sent yet (messageId === 0).
Description
Represent send message request handler.