29 $this->queueConfigData = $queueConfigData;
56 $bindKey = $exchange .
'--' . $topic;
61 'No bindings configured for the "%topic" topic at "%exchange" exchange.',
62 [
'topic' => $topic,
'exchange' => $exchange]
94 new Phrase(
'Consumer "%consumer" has not connection.', [
'consumer' => $consumer])
105 return $this->queueConfigData->get(
117 return array_keys($queueConfig);
186 $publisherName = $this->queueConfigData->get(
190 if (!$publisherName) {
192 new Phrase(
'Message queue topic "%topic" is not configured.', [
'topic' => $topicName])
197 if (!$publisherConfig) {
200 'Message queue publisher "%publisher" is not configured.',
201 [
'publisher' => $publisherName]
205 return $publisherConfig;
const EXCHANGE_TOPIC_TO_QUEUES_MAP
__construct(Config\Data $queueConfigData)
const PUBLISHER_CONNECTION
getConnectionByConsumer($consumer)
getExchangeByTopic($topicName)
const CONSUMER_CONNECTION
getConnectionByTopic($topic)
getPublisherConfigByTopic($topicName)
getMessageSchemaType($topic)
const RESPONSE_QUEUE_PREFIX
getResponseQueueName($topicName)
if(!isset($_GET['name'])) $name