When an application calls the
commitSend procedure in a Session object, all messages that have been published or sent to a queue with the current transaction are sent. When an application calls the
rollbackSend proceduree in a Session object, all such messages are discarded.