AMQPChannel
在线手册:中文 英文
PHP手册

AMQPChannel::commitTransaction

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

AMQPChannel::commitTransactionCommit a pending transaction

说明

public void AMQPChannel::commitTransaction ( void )

Commit 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手册