bschmitt/laravel-amqp

How to set initial durable for exchange

matrix2305 opened this issue · 1 comments

I have a problem with set durable = true on publish or subscribe message in setup connection to RabbitMQ:

I don't know how to set durable in config:
My (bad) example:
'exchange_properties' => ['durable' => ['t',true]],

Exception:
PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'amq.topic' in vhost '/': received 'false' but current is 'true'

Do I create new vhost with different settings or something else?

Thanks in advance!

I'm not publish config from vendor, already I'm copy (old) config from description.