File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
lib/internal/Magento/Framework/Amqp Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,7 @@ public function create(FactoryOptions $options): AbstractConnection
3838 $ parameters ['ssl_options ' ] = $ options ->getSslOptions () !== null
3939 ? $ options ->getSslOptions ()
4040 : ['verify_peer ' => true ];
41- return ObjectManager::getInstance ()->create ($ connectionType , $ parameters );
4241 }
43- // need to revert the changes in scope of this ticket - AC-11673
44- return new AMQPStreamConnection (
45- $ parameters ['host ' ],
46- $ parameters ['port ' ],
47- $ parameters ['user ' ],
48- $ parameters ['password ' ],
49- $ parameters ['vhost ' ]
50- );
42+ return ObjectManager::getInstance ()->create ($ connectionType , $ parameters );
5143 }
5244}
Original file line number Diff line number Diff line change @@ -121,10 +121,10 @@ public static function connectionDataProvider()
121121 'ssl_enabled ' => true ,
122122 'connection_class ' => AMQPSSLConnection::class,
123123 ],
124- // [ // Need to revert in scope of this ticket - AC-11673
125- // 'ssl_enabled' => false,
126- // 'connection_class' => AMQPStreamConnection::class,
127- // ],
124+ [
125+ 'ssl_enabled ' => false ,
126+ 'connection_class ' => AMQPStreamConnection::class,
127+ ],
128128 ];
129129 }
130130
You can’t perform that action at this time.
0 commit comments