Свойство | Type | Description | |
---|---|---|---|
$queueName | string | ||
$replies | string[] | ||
$requestTimeout | integer | ||
$requests | integer |
Méthode | Description | |
---|---|---|
addRequest ( string $messageBody, string $server, string $requestId, string $routingKey = '' ) | Add request to be sent to RPC Server. | |
getReplies ( ) : array | Get replies. | |
initClient ( ) | Initialize client. | |
processMessage ( PhpAmqpLib\Message\AMQPMessage $message ) | ||
setTimeout ( integer $timeout ) |
public processMessage ( PhpAmqpLib\Message\AMQPMessage $message ) | ||
$message | PhpAmqpLib\Message\AMQPMessage |