You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/drivers/amqp_interop/Queue.php
+1-27Lines changed: 1 addition & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,6 @@ class Queue extends CliQueue
36
36
constTTR = 'yii-ttr';
37
37
constDELAY = 'yii-delay';
38
38
constPRIORITY = 'yii-priority';
39
-
40
39
constENQUEUE_AMQP_LIB = 'enqueue/amqp-lib';
41
40
constENQUEUE_AMQP_EXT = 'enqueue/amqp-ext';
42
41
constENQUEUE_AMQP_BUNNY = 'enqueue/amqp-bunny';
@@ -48,169 +47,145 @@ class Queue extends CliQueue
48
47
* @var string
49
48
*/
50
49
public$dsn;
51
-
52
50
/**
53
51
* The message queue broker's host
54
52
*
55
53
* @var string|null
56
54
*/
57
55
public$host;
58
-
59
56
/**
60
57
* The message queue broker's port
61
58
*
62
59
* @var string|null
63
60
*/
64
61
public$port;
65
-
66
62
/**
67
63
* This is RabbitMQ user which is used to login on the broker
68
64
*
69
65
* @var string|null
70
66
*/
71
67
public$user;
72
-
73
68
/**
74
69
* This is RabbitMQ password which is used to login on the broker
75
70
*
76
71
* @var string|null
77
72
*/
78
73
public$password;
79
-
80
74
/**
81
75
* Virtual hosts provide logical grouping and separation of resources.
82
76
*
83
77
* @var string|null
84
78
*/
85
79
public$vhost;
86
-
87
80
/**
88
81
* The time PHP socket waits for an information while reading. In seconds
89
82
*
90
83
* @var float|null
91
84
*/
92
85
public$readTimeout;
93
-
94
86
/**
95
87
* The time PHP socket waits for an information while witting. In seconds
96
88
*
97
89
* @var float|null
98
90
*/
99
91
public$writeTimeout;
100
-
101
92
/**
102
93
* The time RabbitMQ keeps the connection on idle. In seconds
103
94
*
104
95
* @var float|null
105
96
*/
106
97
public$connectionTimeout;
107
-
108
98
/**
109
99
* The periods of time PHP pings the broker in order to prolong the connection timeout. In seconds
110
100
*
111
101
* @var float|null
112
102
*/
113
103
public$heartbeat;
114
-
115
104
/**
116
105
* PHP uses one shared connection if set true
117
106
*
118
107
* @var bool|null
119
108
*/
120
109
public$persisted;
121
-
122
110
/**
123
111
* The connection will be established as later as possible if set true
124
112
*
125
113
* @var bool|null
126
114
*/
127
115
public$lazy;
128
-
129
116
/**
130
117
* If false prefetch_count option applied separately to each new consumer on the channel
131
118
* If true prefetch_count option shared across all consumers on the channel
132
119
*
133
120
* @var bool|null
134
121
*/
135
122
public$qosGlobal;
136
-
137
123
/**
138
124
* Defines number of message pre-fetched in advance on a channel basis.
139
125
*
140
126
* @var int|null
141
127
*/
142
128
public$qosPrefetchSize;
143
-
144
129
/**
145
130
* Defines number of message pre-fetched in advance per consumer.
146
131
*
147
132
* @var int|null
148
133
*/
149
134
public$qosPrefetchCount;
150
-
151
135
/**
152
136
* Defines whether secure connection should be used or not
153
137
*
154
138
* @var bool|null
155
139
*/
156
140
public$sslOn;
157
-
158
141
/**
159
142
* Require verification of SSL certificate used.
160
143
*
161
144
* @var bool|null
162
145
*/
163
146
public$sslVerify;
164
-
165
147
/**
166
148
* Location of Certificate Authority file on local filesystem which should be used with the verify_peer context option to authenticate the identity of the remote peer.
167
149
*
168
150
* @var string|null
169
151
*/
170
152
public$sslCacert;
171
-
172
153
/**
173
154
* Path to local certificate file on filesystem.
174
155
*
175
156
* @var string|null
176
157
*/
177
158
public$sslCert;
178
-
179
159
/**
180
160
* Path to local private key file on filesystem in case of separate files for certificate (local_cert) and private key.
181
161
*
182
162
* @var string|null
183
163
*/
184
164
public$sslKey;
185
-
186
165
/**
187
166
* The queue used to consume messages from
188
167
*
189
168
* @var string
190
169
*/
191
170
public$queueName = 'interop_queue';
192
-
193
171
/**
194
172
* The exchange used to publish messages to
195
173
*
196
174
* @var string
197
175
*/
198
176
public$exchangeName = 'exchange';
199
-
200
177
/**
201
178
* Defines the amqp interop transport being internally used. Currently supports lib, ext and bunny values
202
179
*
203
180
* @var string
204
181
*/
205
182
public$driver = self::ENQUEUE_AMQP_LIB;
206
-
207
183
/**
208
184
* This property should be an integer indicating the maximum priority the queue should support. Default is 10
209
185
*
210
186
* @var int
211
187
*/
212
188
public$maxPriority = 10;
213
-
214
189
/**
215
190
* The property contains a command class which used in cli.
216
191
*
@@ -224,14 +199,12 @@ class Queue extends CliQueue
0 commit comments