mikemadisonweb / yii2-rabbitmq

RabbitMQ Extension for Yii2
MIT License
72 stars 31 forks source link

additionalProperties is dropped from Producer::publish() #23

Closed michaelarnauts closed 6 years ago

michaelarnauts commented 6 years ago

Any reason why $additionalProperties is dropped from Producer::publish() in v2.0? This could be useful to support the priority flag you can set on a message.

I would also need a way to define x-max-priority on the queue, but that also seemed missing in the previous version.

mikemadisonweb commented 6 years ago

Hello Michael, Yep, that's my mistake. I will put that in a patch release. As for the x-max-priority, it's a queue option, so you can define it in the arguments option of the queue configuration. You can find more info on how to set it here.