arobson / rabbot

Deprecated: Please see https://github.com/Foo-Foo-MQ/foo-foo-mq
MIT License
276 stars 129 forks source link

custom exchangeTypes not handled #127

Closed deejbee closed 6 years ago

deejbee commented 6 years ago

I'm trying to use the https://github.com/rabbitmq/rabbitmq-delayed-message-exchange plugin but it must set the exchange type to x-delayed-message which is not currently supported by the looks of it.

Is there a way to do it?

alonisser commented 6 years ago
  1. This lib actually a wrapper around amqplib, so anything supported by it would be supported here, From a quick look at amqplib docs, also seems to support custom exchange Types. So I don't know what you mean by "not currently supported by the looks of it"
  2. Please note that for that to work you would need to verify you actually installed and enabled the plugin, added the custom exchange type, and passed the extra arg option to add exchange creation (("x-delayed-type", "direct"). Also you'll need to verify you have correct rabbitmq and erlang versions since this plugins seems to demand a quite updated version of erlang (higher then the one rabbitmq needs)

If you are trying something which isn't working, please elaborate