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
{{ message }}
Repository navigation
Commit 6a80a7c
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -12,7 +13,7 @@ class AmqpConnectionFactory implements InteropAmqpConnectionFactory, DelayStrate
12
13
use DelayStrategyAwareTrait;
13
14
14
15
/**
15
-
* @var array
16
+
* @var ConnectionConfig
16
17
*/
17
18
private$config;
18
19
@@ -22,65 +23,27 @@ class AmqpConnectionFactory implements InteropAmqpConnectionFactory, DelayStrate
22
23
private$client;
23
24
24
25
/**
25
-
* The config could be an array, string DSN or null. In case of null it will attempt to connect to localhost with default credentials.
26
+
* @see \Enqueue\AmqpTools\ConnectionConfig for possible config formats and values
26
27
*
27
-
* [
28
-
* 'host' => 'amqp.host The host to connect too. Note: Max 1024 characters.',
29
-
* 'port' => 'amqp.port Port on the host.',
30
-
* 'vhost' => 'amqp.vhost The virtual host on the host. Note: Max 128 characters.',
31
-
* 'user' => 'amqp.user The user name to use. Note: Max 128 characters.',
32
-
* 'pass' => 'amqp.password Password. Note: Max 128 characters.',
33
-
* 'lazy' => 'the connection will be performed as later as possible, if the option set to true',
34
-
* 'receive_method' => 'Could be either basic_get or basic_consume',
35
-
* '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"',
36
-
* 'qos_prefetch_count' => 'Specifies a prefetch window in terms of whole messages.',
37
-
* '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.',
38
-
* ]
28
+
* In addition this factory accepts next options:
29
+
* receive_method - Could be either basic_get or basic_consume
0 commit comments