dial-once / node-bunnymq

BunnyMQ is an amqp.node wrapper to ease common AMQP usages (RPC, pub/sub, channel/connection handling etc.).
MIT License
19 stars 6 forks source link

How to consume messages based on routing key. #60

Open bleggett opened 7 years ago

bleggett commented 7 years ago

So I see that there is support for publishing messages to exchanges with routing keys, but how would I go about consuming messages from a specific exchange with a specific routing key? The code doesn't appear to support this currently, nor does it seem to support programmatically defining exchange->routingKey->queue bindings.

mrister commented 7 years ago

@bleggett Unfortunately it is not supported. Feel free to make a PR if you believe you can make the needed changes and we will work with you to support this feature.