Stomp::begin

(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.

doc_php
2016-02-24 16:10:12
Comments
Leave a Comment

Please login to continue.