|
Stomp::commitstomp_commitCommits a transaction in progress DescriptionObject oriented style (method):
public bool Stomp::commit
( string
$transaction_id
[, array $headers
] )Procedural style:
bool stomp_commit
( resource
$link
, string $transaction_id
[, array $headers
] )Commits a transaction in progress. Parameters
Return Values
Returns NotesTip
Stomp is inherently asynchronous. Synchronous communication can be implemented adding a receipt header. This will cause methods to not return anything until the server has acknowledged receipt of the message or until read timeout was reached. Examples
Example #1 Object oriented style
<?php
Example #2 Procedural style
<?php |