(PECL stomp >= 0.1.0)
Starts a transaction
public bool Stomp::begin ( string $transaction_id [, array $headers ] )
Object oriented style (method):
Procedural style:
bool stomp_begin ( resource
$link , string $transaction_id [, array $headers ] )Starts a transaction.
Parameters:
link
Procedural style only: The stomp link identifier returned by stomp_connect().
transaction_id
The transaction id.
headers
Associative array containing the additional headers (example: receipt).
Returns:
Returns TRUE on success or FALSE on failure.
Please login to continue.