21 private $objectManager =
null;
28 private $instanceName =
null;
46 $instanceName = \
Magento\Framework\Amqp\Exchange::class
49 $this->configPool = $configPool;
50 $this->instanceName = $instanceName;
59 $data[
'amqpConfig'] = $this->configPool->get($connectionName);
60 return $this->objectManager->create(
__construct(\Magento\Framework\ObjectManagerInterface $objectManager, ConfigPool $configPool, $instanceName=\Magento\Framework\Amqp\Exchange::class)
create($connectionName, array $data=[])