php8.5
Home/ Manual/ stomp / stomp/ Stomp::send

Stomp::send

PHP function Edit on GitHub ✎

(PECL stomp >= 0.1.0)

Sends a message

Description

Oop (method):

Stomp::send(string $destination, mixed $msg, [array $headers]): bool

Procedural:

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

Sends a message to the Message Broker.

Parameters

destination

Where to send the message

msg

Message to send.

Return Values

Success

Examples

See stomp_ack().

Notes Transaction Sync

Source: reference/stomp/stomp/send.xml · from the official PHP manual (php/doc-en)