PHP Класс Tolerance\Bridge\RabbitMqBundle\Tracer\TracedProducer

Наследование: implements OldSound\RabbitMqBundle\RabbitMq\ProducerInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( OldSound\RabbitMqBundle\RabbitMq\ProducerInterface $decoratedProducer, AmqpSpanFactory $amqpSpanFactory, Tolerance\Tracer\Tracer $tracer )
close ( ) This method is added for compatibility reasons with a strange way of closing RabbitMq connections.
publish ( $msgBody, $routingKey = '', $additionalProperties = [] )

Описание методов

__construct() публичный Метод

public __construct ( OldSound\RabbitMqBundle\RabbitMq\ProducerInterface $decoratedProducer, AmqpSpanFactory $amqpSpanFactory, Tolerance\Tracer\Tracer $tracer )
$decoratedProducer OldSound\RabbitMqBundle\RabbitMq\ProducerInterface
$amqpSpanFactory Tolerance\Tracer\SpanFactory\Amqp\AmqpSpanFactory
$tracer Tolerance\Tracer\Tracer

close() публичный Метод

This method is added for compatibility reasons with a strange way of closing RabbitMq connections.
См. также: https://github.com/php-amqplib/RabbitMqBundle/pull/378
public close ( )

publish() публичный Метод

public publish ( $msgBody, $routingKey = '', $additionalProperties = [] )