update : 2015.11.03
php.shukuma.com검색:
|
Stomp::commitstomp_commit(PECL stomp >= 0.1.0) Stomp::commit -- stomp_commit — Commits a transaction in progress 설명객체 기반 형식 (method):
public bool Stomp::commit
( string
$transaction_id
[, array $headers
] )절차식 형식:
bool stomp_commit
( resource
$link
, string $transaction_id
[, array $headers
] )Commits a transaction in progress. 인수
반환값
성공 시 주의Tip
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. 예제
Example #1 객체 기반 형식
<?php
Example #2 절차식 형식
<?php |