Kdyby/RabbitMq

Undefined index: noLocal when trying to run anonymous consumer

Opened this issue · 0 comments

I'm trying to run anonymous consumer and I'm getting this exception:
ErrorException: Undefined index: noLocal in /var/www/vendor/kdyby/rabbitmq/src/Kdyby/RabbitMq/BaseConsumer.php:93

Does anybody know where is the problem?
This is my config file:

producers:
	moduleExport:
	    connection: default
	    exchange: {name: 'module-export', type: topic}
	    contentType: application/json

consumers:
	moduleExport:
	    exchange: {name: 'module-export', type: topic}
	    callback: [@App\Console\ModuleExportConsumer, process]
	    qos: {prefetchSize: 0, prefetchCount: 1, global: false}