|
|
| Author |
Message |
|
| akalen |
Posted: Wed Oct 07, 2009 8:38 am |
|
|
|
Joined: 11 Jun 2009
Posts: 9
|
Hi All,
I have the received messages into the queue with routing-key:
message #1 - key: news
message #2 - key: realty
message #3 - key: realty
message #4 - key: news
Can I to read from queue only by single routing-key, for example:
only first reading block
message #2 - key: realty
message #3 - key: realty
only Second reading block:
message #1 - key: news
message #4 - key: news
I see next path:
- read all messages with no_ack (basic.get )
- filtring by key
read second block:
- read all messages (basic.get )
- filtring by second key
Lack of this method is duble the incoming flow
The second path is to have the two different queues.
thanks
Alexandre
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 07, 2009 10:39 am |
|
|
|
Guest
|
Alexandre
2009/10/7 Alexandre Kalendarev <akalend@mail.ru>:
> Alexis,
>
> It is second path.
Understood.
> First path: |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|