W3cubDocs

/Symfony 4.1

AmqpFactory

class AmqpFactory

Methods

AMQPConnection createConnection(array $credentials)
AMQPChannel createChannel(AMQPConnection $connection)
AMQPQueue createQueue(AMQPChannel $channel)
AMQPExchange createExchange(AMQPChannel $channel)

Details

AMQPConnection createConnection(array $credentials)

Parameters

array $credentials

Return Value

AMQPConnection

AMQPChannel createChannel(AMQPConnection $connection)

Parameters

AMQPConnection $connection

Return Value

AMQPChannel

AMQPQueue createQueue(AMQPChannel $channel)

Parameters

AMQPChannel $channel

Return Value

AMQPQueue

AMQPExchange createExchange(AMQPChannel $channel)

Parameters

AMQPChannel $channel

Return Value

AMQPExchange

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Messenger/Transport/AmqpExt/AmqpFactory.html