Nicholas
Nicholas

Reputation: 7501

Does AMQP have a default queue to send messages that don't match any bindings in the exchange?

I have a producer that will produce to an exchange for a given key. Sometimes the key may not be have a binding yet, so I'd like the message to go to a default queue. Is there any way to specify for an exchange where to put a message if there are no matching bindings?

Does AMQP, or RabbitMQ, offer any such ability for a default queue for non-matching messages? Is there a pattern for this that I could exploit if not?

Upvotes: 1

Views: 225

Answers (1)

pinepain
pinepain

Reputation: 12859

I guess Alternate Exchanges is what you are looking for.

Upvotes: 2

Related Questions