Ala
Ala

Reputation: 107

Creating a queue for unrootable messages

I have several Java Clients sending messages publishing to direct exchange.

I want each of the clients to publish using their ID as a routing key (or as a header I can change to a headers exchange). If there's a queue bound using that rooting key it will publish to it else it will publish to a global queue.

So my question is, is it possible to have a queue that receives messages from the clients whom rooting key/header cannot be rooted to any of the queues ? Something which looks like a default queue.

Thanks.

Upvotes: 1

Views: 42

Answers (1)

Ala
Ala

Reputation: 107

Found the solution using RabbitMQ Alternative exchange

Upvotes: 1

Related Questions