Unlike JMS, AMQP/RabbitMQ doesn't support message selectors.
One technique you can use to provide similar functionality is to use a topic exchange, together with routing keys that can be used by clients to bind specific patterns for their queue.
For example, 2 messages with routing keys 'foo.bar' and 'foo.baz'. A queue can be bound with pattern 'foo.*' and he will get both messages, but queues bound with"foo.bar" and "foo.baz" will only get one message each.
There are lots of tutorials on the 'net about using topic exchanges.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware