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: pkg/amqp-ext/AmqpConnectionFactory.php
+29-16
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,9 @@ class AmqpConnectionFactory implements InteropAmqpConnectionFactory, DelayStrate
34
34
* 'connect_timeout' => 'Connection timeout. Note: 0 or greater seconds. May be fractional.',
35
35
* 'persisted' => 'bool, Whether it use single persisted connection or open a new one for every context',
36
36
* 'lazy' => 'the connection will be performed as later as possible, if the option set to true',
37
-
* 'pre_fetch_count' => 'Controls how many messages could be prefetched',
38
-
* 'pre_fetch_size' => 'Controls how many messages could be prefetched',
37
+
* 'qos_prefetch_size' => 'The server will send a message in advance if it is equal to or smaller in size than the available prefetch size. May be set to zero, meaning "no specific limit"',
38
+
* 'qos_prefetch_count' => 'Specifies a prefetch window in terms of whole messages.',
39
+
* 'qos_global' => 'If "false" the QoS settings apply to the current channel only. If this field is "true", they are applied to the entire connection.',
39
40
* 'receive_method' => 'Could be either basic_get or basic_consume',
40
41
* ]
41
42
*
@@ -72,7 +73,7 @@ public function __construct($config = 'amqp:')
72
73
}
73
74
74
75
if ('basic_consume' == $this->config['receive_method']) {
// @see https://github.com/php-enqueue/enqueue-dev/issues/110 and https://github.com/pdezwart/php-amqp/issues/281
77
78
thrownew \LogicException('The "basic_consume" method does not work on amqp extension prior 1.9.1 version.');
78
79
}
@@ -88,7 +89,10 @@ public function createContext()
0 commit comments