Message consumed by a specific consumer

I have a queue with messages. Each message can be consumed only by a specific worker. If worker for the given message doesn't exist, message should be deleted. Consumers don't know about each other.

How to achieve that? It is possible to that in AMQP (for example in RabbitMQ)? Or I need to use other solutions?