Skip to content

Issue #3419129: Major refactor of ConnectionFactory and RabbitmqServiceProvider

Zach Bimson requested to merge refactor-dynamic-services into 5.x

Changes

  • Refactor RabbitmqServiceProvider to remove dynamic ConnectionFactory in favour of a single rabbitmq.connection.factory service
  • Refactor ConnectionFactory to work more like a factory should. New create method takes $key parameter and returns AMQPStreamConnection|AMQPSSLConnection
  • Add QueueFactoryFactory to produce the dynamic QueueFactory services.
  • Type hinting and constructor property promotion inline with the changes proposed to the min requirements for 4.x in !42 (merged)
Edited by Zach Bimson

Merge request reports