amqp-client-lwt

Amqp client library, lwt version
IN THIS PACKAGE
Module Amqp_client_lwt . Spec . Tx
module Select_ok : sig ... end

This method confirms to the client that the channel was successfully set to use standard transactions.

module Select : sig ... end

This method sets the channel to use standard transactions. The client must use this method at least once on a channel before using the Commit or Rollback methods.

module Commit_ok : sig ... end

This method confirms to the client that the commit succeeded. Note that if a commit fails, the server raises a channel exception.

module Commit : sig ... end

This method commits all message publications and acknowledgments performed in the current transaction. A new transaction starts immediately after a commit.

module Rollback_ok : sig ... end

This method confirms to the client that the rollback succeeded. Note that if an rollback fails, the server raises a channel exception.

module Rollback : sig ... end

This method abandons all message publications and acknowledgments performed in the current transaction. A new transaction starts immediately after a rollback. Note that unacked messages will not be automatically redelivered by rollback; if that is required an explicit recover call should be issued.