AMQPExchange
PHP Manual

AMQPExchange::publish

(PECL amqp >= Unknown)

AMQPExchange::publishPublish a message to an exchange.

Description

public void AMQPExchange::publish ( string $message , string $routing_key )

Publish a message to the exchange represented by the AMQPExchange object.

Warning

This function is currently not documented; only its argument list is available.

Parameters

message

The message to publish.

routing_key

The routing key to which to publish.

Return Values


AMQPExchange
PHP Manual