<div><div>Simon,</div><div><br></div><div>How you said, each client need to get its own set of messages, but I need which messages survive to client disconnect and the client can change the binds to filter messages based on headers (Exchange Headers).</div>
<div><br></div><div>Has a way to unbind (using UnbindQueue method in .NET) to Unbind all queue binds (an wildcard for example)?</div><div><br></div><div>Thanks,</div><div><br></div><div>Thiago Burgo</div><div> </div><div class="gmail_quote">
2012/6/26 Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 25/06/12 18:23, Thiago Burgo Belo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I Have a situation where I need add and remove a queue bind dinamically.<br>
The cliente decides the header property to match. I need know which<br>
binds exists to decide if I need remove or add a bind.<br>
<br>
How can I do this with .NET client?<br>
</blockquote>
<br></div></div>
The assumption AMQP makes is that you will be asserting the existence of the objects you require - so that's why queue.bind is idempotent.<br>
<br>
The usual reason for wanting to add / remove bindings dynamically is that each client wants to get its own set of messages from some exchange. So each client declares its own (autodelete or exclusive) queue, binds it as needed, and then when the client disconnects the queue is deleted, and with it the bindings.<br>
<br>
If you need something more complicated than that, you would need to talk to the management HTTP API.<br>
<br>
Cheers, Simon<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
</font></span></blockquote></div><br></div>