AMQPChannel
PHP Manual

AMQPChannel::commitTransaction

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

AMQPChannel::commitTransactionCommit a pending transaction

Opis

public void AMQPChannel::commitTransaction ( void )

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

Błędy/Wyjątki

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

Throws AMQPConnectionException if the connection to the broker was lost.

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.


AMQPChannel
PHP Manual