File tree Expand file tree Collapse file tree 1 file changed +31
-21
lines changed Expand file tree Collapse file tree 1 file changed +31
-21
lines changed Original file line number Diff line number Diff line change @@ -20,27 +20,37 @@ After composer update is finished you need to add ServiceProvider to your `provi
2020now you are able to configure your connections in queue.php:
2121
2222 return array(
23-
24- 'default' => 'rabbitmq',
25-
26- 'connections' => array(
27-
28- 'rabbitmq' => array(
29- 'driver' => 'rabbitmq',
30-
31- 'host' => '',
32- 'port' => '',
33-
34- 'vhost' => '',
35- 'login' => '',
36- 'password' => '',
37-
38- 'queue' => '', // name of the default queue
39- 'exchange_name' => '', // name of the exchange
40- ),
41-
42- ),
43-
23+
24+ 'default' => 'rabbitmq',
25+
26+ 'connections' => array(
27+
28+ 'rabbitmq' => array(
29+ 'driver' => 'rabbitmq',
30+
31+ 'host' => '',
32+ 'port' => '',
33+
34+ 'vhost' => '',
35+ 'login' => '',
36+ 'password' => '',
37+
38+ 'queue' => '', // name of the default queue
39+
40+ 'exchange_name' => '', // name of the exchange
41+
42+ // Type of your exchange
43+ // Can be AMQP_EX_TYPE_DIRECT or AMQP_EX_TYPE_FANOUT
44+ // see documentation for more info
45+ // http://www.rabbitmq.com/tutorials/amqp-concepts.html
46+ 'exchange_type' => AMQP_EX_TYPE_DIRECT,
47+ 'exchange_flags' => AMQP_DURABLE,
48+
49+
50+ ),
51+
52+ ),
53+
4454 );
4555
4656You can also find these examples in src/examples folder.
You can’t perform that action at this time.
0 commit comments