<div dir="ltr">Spring AMQP does not provide a mechanism itself to do this, but the core Spring Framework has a RestTemplate to enable calls to any rest API, including that provided by RabbitMQ.<div><br></div><div><a href="http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/remoting.html#rest-client-access">http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/remoting.html#rest-client-access</a><br>
</div><div><br></div><div>Gary</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 8:44 AM, Rajasekhar P <span dir="ltr">&lt;<a href="mailto:sekhar434145@gmail.com" target="_blank">sekhar434145@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Tim for the reply. Am using Spring-AMQP instead plain RabbitMQ Java API for writing producer and consumer programs and executed policies through command prompt in a clustered nodes. Is this only way to set policies using command prompt or is there any other approach?�<div>
<div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 6:05 PM, Tim Watson <span dir="ltr">&lt;<a href="mailto:watson.timothy@gmail.com" target="_blank">watson.timothy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On 17 Oct 2013, at 13:10, Rajasekhar P &lt;<a href="mailto:sekhar434145@gmail.com" target="_blank">sekhar434145@gmail.com</a>&gt; wrote:<br>
<br>
&gt; While going through the documentation, came to know that we have to set the policies in RabbitMQ server level. Can we set the policies at client level? if possible, how?Thanks .<br>
<br>
</div>No, policies are only set at the broker. You can use the management API to set policies programmatically, an of you wish to do this over AMQP, you can utilise Simon&#39;s �<a href="https://github.com/simonmacmullen/rabbitmq-management-exchange" target="_blank">https://github.com/simonmacmullen/rabbitmq-management-exchange</a> project.<br>


<br>
Tim<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
</blockquote></div><br></div></div></div></div>
<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>
<br></blockquote></div><br></div>