<div dir="ltr">RabbitMQ doesn't inspect message contents while routing. <div><br></div><div>You could do either what Michael says or have a consumer that does the filtering and then publishes to second exchange using different routing keys, based on the message content.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Alvaro</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 16, 2013 at 11:00 AM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 16 Oct 2013, at 19:56, zur <<a href="mailto:zur@jajah.com">zur@jajah.com</a>> wrote:<br>
<br>
> I need to do a ContentFilter<br>
> <<a href="http://www.enterpriseintegrationpatterns.com/ContentFilter.html" target="_blank">http://www.enterpriseintegrationpatterns.com/ContentFilter.html</a>> for<br>
> certain clients, meaning if a specific client want a message I need to<br>
> remove some data from it and for other clients I need to deliver the message<br>
> unmodified, is this kind of filtering is supported by RabbitMQ?<br>
<br>
</div>You can develop a custom exchange type that would do such filtering.<br>
This is not difficult but requires at least a little bit of Erlang knowledge.<br>
<span class="HOEnZb"><font color="#888888"><br>
MK<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>