AMQPChannel
PHP Manual

AMQPChannel::commitTransaction

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

AMQPChannel::commitTransactionCommit a pending transaction

Descrierea

public void AMQPChannel::commitTransaction ( void )

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

Erori/Excepții

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

Throws AMQPConnectionException if the connection to the broker was lost.

Parametri

Această funcție nu are parametri.

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.


AMQPChannel
PHP Manual