프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$channel | PhpAmqpLib\Channel\AMQPChannel | ||
$connection | PhpAmqpLib\Connection\AbstractConnection | ||
$consumerOptions | array | ||
$exchangeOptions | array | ||
$parameters | array | ||
$queueOptions | array | ||
$routingKey | string |
메소드 | 설명 | |
---|---|---|
__construct ( PhpAmqpLib\Connection\AbstractConnection $connection ) | BaseAmqp constructor. | |
getParameters ( ) : array | ||
setExchangeOptions ( array $options ) | ||
setParameter ( string $key, string $value ) | ||
setQos ( array $options ) | ||
setQueueOptions ( array $options ) | ||
setRoutingKey ( string $routingKey ) |
메소드 | 설명 | |
---|---|---|
getConsumerTag ( ) : string | ||
setUpConsumer ( ) | Setup consumer. |
메소드 | 설명 | |
---|---|---|
isValidExchangeName ( string $exchangeName ) : boolean | Verifies exchange name meets the 0.9.1 protocol standard. |
public __construct ( PhpAmqpLib\Connection\AbstractConnection $connection ) | ||
$connection | PhpAmqpLib\Connection\AbstractConnection |
protected AMQPChannel,PhpAmqpLib\Channel $channel | ||
리턴 | PhpAmqpLib\Channel\AMQPChannel |
protected AbstractConnection,PhpAmqpLib\Connection $connection | ||
리턴 | PhpAmqpLib\Connection\AbstractConnection |