Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ConfigInterface.php
Go to the documentation of this file.
1 <?php
8 
10 
14 interface ConfigInterface
15 {
16  const PUBLISHERS = 'publishers';
17  const PUBLISHER_NAME = 'name';
18  const PUBLISHER_CONNECTION = 'connection';
19  const PUBLISHER_EXCHANGE = 'exchange';
20 
21  const TOPICS = 'topics';
22  const TOPIC_NAME = 'name';
23  const TOPIC_PUBLISHER = 'publisher';
24  const TOPIC_SCHEMA = 'schema';
25  const TOPIC_RESPONSE_SCHEMA = 'response_schema';
26  const TOPIC_SCHEMA_TYPE = 'schema_type';
27  const TOPIC_SCHEMA_VALUE = 'schema_value';
28 
29  const TOPIC_SCHEMA_TYPE_OBJECT = 'object';
30  const TOPIC_SCHEMA_TYPE_METHOD = 'method_arguments';
31 
32  const SCHEMA_METHOD_PARAM_NAME = 'param_name';
33  const SCHEMA_METHOD_PARAM_POSITION = 'param_position';
34  const SCHEMA_METHOD_PARAM_TYPE = 'param_type';
35  const SCHEMA_METHOD_PARAM_IS_REQUIRED = 'is_required';
36 
37  const CONSUMERS = 'consumers';
38  const CONSUMER_NAME = 'name';
39  const CONSUMER_QUEUE = 'queue';
40  const CONSUMER_CONNECTION = 'connection';
41  const CONSUMER_INSTANCE_TYPE = 'instance_type';
42  const CONSUMER_CLASS = 'type';
43  const CONSUMER_METHOD = 'method';
44  const CONSUMER_MAX_MESSAGES = 'max_messages';
45  const CONSUMER_HANDLERS = 'handlers';
46  const CONSUMER_HANDLER_TYPE = 'type';
47  const CONSUMER_HANDLER_METHOD = 'method';
48  const CONSUMER_TYPE = 'consumer_type';
49  const CONSUMER_TYPE_SYNC = 'sync';
50  const CONSUMER_TYPE_ASYNC = 'async';
51 
52  const RESPONSE_QUEUE_PREFIX = 'responseQueue.';
53 
54  const BINDS = 'binds';
55  const BIND_QUEUE = 'queue';
56  const BIND_EXCHANGE = 'exchange';
57  const BIND_TOPIC = 'topic';
58 
59  const BROKER_TOPIC = 'topic';
60  const BROKER_TYPE = 'type';
61  const BROKER_EXCHANGE = 'exchange';
62  const BROKER_CONSUMERS = 'consumers';
63  const BROKER_CONSUMER_NAME = 'name';
64  const BROKER_CONSUMER_QUEUE = 'queue';
65  const BROKER_CONSUMER_INSTANCE_TYPE = 'instance_type';
66  const BROKER_CONSUMER_MAX_MESSAGES = 'max_messages';
67  const BROKERS = 'brokers';
68 
72  const EXCHANGE_TOPIC_TO_QUEUES_MAP = 'exchange_topic_to_queues_map';
73 
82  public function getExchangeByTopic($topicName);
83 
92  public function getQueuesByTopic($topic);
93 
100  public function getConnectionByTopic($topic);
101 
108  public function getConnectionByConsumer($consumer);
109 
117  public function getMessageSchemaType($topic);
118 
125  public function getConsumerNames();
126 
134  public function getConsumer($name);
135 
142  public function getBinds();
143 
150  public function getPublishers();
151 
158  public function getConsumers();
159 
168  public function getTopic($name);
169 
177  public function getPublisher($name);
178 
186  public function getResponseQueueName($topicName);
187 }
if(!isset($_GET['name'])) $name
Definition: log.php:14