Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Config\Data $queueConfigData) | |
getExchangeByTopic ($topicName) | |
getQueuesByTopic ($topic) | |
getConnectionByTopic ($topic) | |
getConnectionByConsumer ($consumer) | |
getMessageSchemaType ($topic) | |
getConsumerNames () | |
getConsumer ($name) | |
getBinds () | |
getPublishers () | |
getConsumers () | |
getTopic ($name) | |
getPublisher ($name) | |
getResponseQueueName ($topicName) | |
Protected Member Functions | |
getPublisherConfigByTopic ($topicName) | |
Protected Attributes | |
$queueConfigData | |
Additional Inherited Members |
__construct | ( | Config\Data | $queueConfigData | ) |
getBinds | ( | ) |
{Get queue binds
Implements ConfigInterface.
Definition at line 132 of file Config.php.
getConnectionByConsumer | ( | $consumer | ) |
{
string | $consumer |
LocalizedException |
Implements ConfigInterface.
Definition at line 87 of file Config.php.
getConnectionByTopic | ( | $topic | ) |
{
string | $topic |
LocalizedException |
Implements ConfigInterface.
Definition at line 72 of file Config.php.
getConsumer | ( | $name | ) |
{Get consumer configuration
string | $name |
Implements ConfigInterface.
Definition at line 123 of file Config.php.
getConsumerNames | ( | ) |
{Get all consumer names
Implements ConfigInterface.
Definition at line 114 of file Config.php.
getConsumers | ( | ) |
{Get consumers
Implements ConfigInterface.
Definition at line 148 of file Config.php.
getExchangeByTopic | ( | $topicName | ) |
{Identify configured exchange for the provided topic.
string | $topicName |
LocalizedException |
Implements ConfigInterface.
Definition at line 35 of file Config.php.
getMessageSchemaType | ( | $topic | ) |
{Identify which option is used to define message schema: data interface or service method params
string | $topic |
Implements ConfigInterface.
Definition at line 103 of file Config.php.
getPublisher | ( | $name | ) |
{Get published config
string | $name |
Implements ConfigInterface.
Definition at line 164 of file Config.php.
|
protected |
Get publisher config by topic
string | $topicName |
LocalizedException |
Definition at line 184 of file Config.php.
getPublishers | ( | ) |
{Get publishers
Implements ConfigInterface.
Definition at line 140 of file Config.php.
getQueuesByTopic | ( | $topic | ) |
{Identify a list of all queue names corresponding to the specified topic (and implicitly exchange).
string | $topic |
LocalizedException |
Exchange should be taken into account here to avoid retrieving queues, related to another exchange, which is not currently associated with topic, but is configured in binds
Implements ConfigInterface.
Definition at line 46 of file Config.php.
getResponseQueueName | ( | $topicName | ) |
{Get queue name for response
string | $topicName |
Implements ConfigInterface.
Definition at line 172 of file Config.php.
getTopic | ( | $name | ) |
{Get topic config
string | $name |
Implements ConfigInterface.
Definition at line 156 of file Config.php.
|
protected |
Definition at line 22 of file Config.php.