[rabbitmq-discuss] Binding to topic exchange with a negation wildcard

Dave Curylo curylod at asme.org
Wed Sep 12 20:37:34 BST 2012


I am publishing messages to a topic exchange on about 50 different topics.
 Most consumers will want all these topics except for a very few.  Is it
possible to bind a queue to a topic exchange with a condition that the
topic does NOT match a certain wildcard?

For example, I'm publishing on
a.b.c.1
a.b.c.2
a.b.c.3
a.b.c.4
a.b.c.5

It would be nice if we could bind with something like this:
a.b.c.#!3 // match topics starting with a.b.c and anything other 3

And that would give messages on all topics except a.b.c.3:
a.b.c.1
a.b.c.2
a.b.c.4
a.b.c.5

Possible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120912/92710410/attachment.htm>


More information about the rabbitmq-discuss mailing list