File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ protected function setupConsumer()
90
90
$ this ->getChannel ()->basic_consume (
91
91
$ this ->queueOptions ['name ' ],
92
92
$ this ->getConsumerTag (),
93
- $ noLocal = false ,
94
- $ noAck = false ,
95
- $ exclusive = false ,
96
- $ nowait = false ,
93
+ $ this -> queueOptions [ ' noLocal ' ] ,
94
+ $ this -> queueOptions [ ' noAck ' ] ,
95
+ $ this -> queueOptions [ ' exclusive ' ] ,
96
+ $ this -> queueOptions [ ' nowait ' ] ,
97
97
[$ this , 'processMessage ' ]
98
98
);
99
99
}
Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ class RabbitMqExtension extends Nette\DI\CompilerExtension
121
121
'name ' => '' ,
122
122
'passive ' => FALSE ,
123
123
'durable ' => TRUE ,
124
+ 'noLocal ' => FALSE ,
125
+ 'noAck ' => FALSE ,
124
126
'exclusive ' => FALSE ,
125
127
'autoDelete ' => FALSE ,
126
128
'nowait ' => FALSE ,
You can’t perform that action at this time.
0 commit comments