bschmitt / laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages
MIT License
268 stars 86 forks source link

Allow multiple queue bindings #70

Closed xaviapa closed 4 years ago

xaviapa commented 5 years ago

Hi,

We are using your library and would like to bind more than one routing key to a queue in the setup.

We hope you find this new feature useful and would like to integrate it to your library.

Thanks @bschmitt

bschmitt commented 4 years ago

Thanks looks fine to me. @stevenklar any objections?

joskfg commented 4 years ago

Hello @stevenklar!

Sorry for being so late. It doesn't produce any breaking change because it has a type casting to array (array) $this->getProperty('routing'). It would fail without that type casting, but that ensure that if you receives a string, it will be automatically transformed in an array.