AMQPChannel
PHP 手册

AMQPChannel::rollbackTransaction

(No version information available, might only be in SVN)

AMQPChannel::rollbackTransactionRollback a transaction

说明

public void AMQPChannel::rollbackTransaction ( void )

Rollback an existing transaction. AMQPChannel::startTransaction() must be called prior to this.

参数

此函数没有参数。

错误/异常

Throws AMQPChannelException exception if no transaction was started prior to calling this method.

Throws AMQPConnectionException if the connection to the broker was lost.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE


AMQPChannel
PHP 手册