AMQPChannel
PHP Manual

AMQPChannel::startTransaction

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

AMQPChannel::startTransactionStart a transaction

说明

public void AMQPChannel::startTransaction ( void )

Start a transaction. This method must be called on the given channel prior to calling AMQPChannel::commitTransaction() or AMQPChannel::rollbackTransaction().

参数

此函数没有参数。

错误/异常

Throws AMQPConnectionException if the connection to the broker was lost.

返回值

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


AMQPChannel
PHP Manual