Deliver message to only one queue bound to a routing key in RabbiqMQ Direct exchange
<p>I am new to RabbitMQ and this is confusing me. I have setup a direct exchange and different queues subscribe to different routing keys on this exchange. What I want is that if a message gets published with one routing key, it gets consumed from one subscriber only, no matter how many queues subscribe to that routing key. </p>

<p>Current scenario:</p>

<p>Exchange (type: direct)</p>

<pre><code>-QueueA1  (receives message A from exchange with routing key of "TypeA")
-QueueA2  (also receive message A from exchange with routing key of "TypeA")
-QueueB  (doesn't receive message A because it subscribes to key "TypeB")
</code></pre>

<p>Desired:</p>

<pre><code>-QueueA1  (receives message A from exchange with routing key of "TypeA")
-QueueA2  (doesn't receive message A because it's already consumed by QueueA1)
-QueueB  (doesn't receive message A because it subscribes to key "TypeB")
</code></pre>

<p>Do I need to use a different exchange? How do I achieve desired scenario?</p>