[rabbitmq-discuss] bindings using complex criteria
Simon MacMullen
simon at rabbitmq.com
Tue Oct 16 10:22:47 BST 2012
On 16/10/12 09:42, Oren Berenson wrote:
> We need to do binding using greater than, less than etc using a
> combination of several key/values. For example a consumer must only
> receive messages where value > 10 and y < dateTime > x.
>
> Assuming we have a component that can generate all the required
> headers before the message is sent to an exchange, is it possible to
> do such thing with Headers exchange? Would it perform well? We are
> looking at a throughput of 1000 messages per second at least. What
> would be the best approach for such requirement?
I'm afraid the headers exchange will only do exact matching. It should
perform OK, though.
I'm not sure there is any built in functionality for what you want to
do, short of "write your own exchange type" which may not be what you
want to hear...
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list