Stomp::send

(PECL stomp >= 0.1.0)
Sends a message
public bool Stomp::send ( string $destination, mixed $msg [, array $headers ] )

Object oriented style (method):

Procedural style:

bool stomp_send ( resource $link , string $destination , mixed $msg [, array $headers ] )

Sends a message to the Message Broker.

Parameters:
link

Procedural style only: The stomp link identifier returned by stomp_connect().

destination

Where to send the message

msg

Message to send.

headers

Associative array containing the additional headers (example: receipt).

Returns:

Returns TRUE on success or FALSE on failure.

Notes:

A transaction header may be specified, indicating that the message acknowledgment should be part of the named transaction.

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

Please login to continue.